test
This commit is contained in:
parent
ae3a5ba725
commit
31a515a74c
28
def.go
28
def.go
@ -73,20 +73,20 @@ type MQClient struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ChirpClient struct {
|
type ChirpClient struct {
|
||||||
HeartBeat time.Time `json:"heart_beat"`
|
HeartBeat time.Time `json:"heart_beat"`
|
||||||
Login string `json:"nickname"`
|
Login string `json:"nickname"`
|
||||||
Active bool `json:"active"`
|
Active bool `json:"active"`
|
||||||
TGUserID64 int64 `json:"tg_user_id"`
|
TGUserID64 int64 `json:"tg_user_id"`
|
||||||
MQ MQClient
|
MQ MQClient `json:"-"`
|
||||||
CWUserID64 int64 `json:"user_id"`
|
CWUserID64 int64 `json:"user_id"`
|
||||||
CWGuildID64 int64 `json:"guild_id"`
|
CWGuildID64 int64 `json:"guild_id"`
|
||||||
CWRole string `json:"role"`
|
CWRole string `json:"role"`
|
||||||
CWState string `json:"state"`
|
CWState string `json:"state"`
|
||||||
CWClass string `json:"class"`
|
CWClass string `json:"class"`
|
||||||
CWBusyUntil time.Time `json:"busy_until"`
|
CWBusyUntil time.Time `json:"busy_until"`
|
||||||
CWLastUpdate time.Time `json:"last_update"`
|
CWLastUpdate time.Time `json:"last_update"`
|
||||||
CWIdle bool `json:"idle"`
|
CWIdle bool `json:"idle"`
|
||||||
Mux sync.Mutex
|
Mux sync.Mutex `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type MQKeepAlive struct {
|
type MQKeepAlive struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user