tsviewer/features/api/client/client.go

16 lines
356 B
Go
Raw Normal View History

2019-01-15 00:46:39 +00:00
package client
type Service interface {
Client(id int) (*Client, error)
Clients() ([]*Client, error)
}
type Client struct {
DatabaseID int `json:"databaseId"`
2019-01-16 22:07:38 +00:00
ChannelID int `json:"channelId"`
2019-01-15 00:46:39 +00:00
Nickname string `json:"nickname"`
Type int `json:"type"`
Away bool `json:"away"`
AwayMessage string `json:"awayMessage"`
}