mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-12 23:00:26 +00:00
Change to lowercase JSON keys (api)
This commit is contained in:
parent
5f30a98bc1
commit
2eecaccd1c
@ -16,15 +16,15 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Message struct {
|
type Message struct {
|
||||||
Text string
|
Text string `json:"text"`
|
||||||
Channel string
|
Channel string `json:"channel"`
|
||||||
Username string
|
Username string `json:"username"`
|
||||||
Avatar string
|
Avatar string `json:"avatar"`
|
||||||
Account string
|
Account string `json:"account"`
|
||||||
Event string
|
Event string `json:"event"`
|
||||||
Protocol string
|
Protocol string `json:"protocol"`
|
||||||
Gateway string
|
Gateway string `json:"gateway"`
|
||||||
Timestamp time.Time
|
Timestamp time.Time `json:"timestamp"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ChannelInfo struct {
|
type ChannelInfo struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user