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 {
|
||||
HeartBeat time.Time `json:"heart_beat"`
|
||||
Login string `json:"nickname"`
|
||||
Active bool `json:"active"`
|
||||
TGUserID64 int64 `json:"tg_user_id"`
|
||||
MQ MQClient
|
||||
CWUserID64 int64 `json:"user_id"`
|
||||
CWGuildID64 int64 `json:"guild_id"`
|
||||
CWRole string `json:"role"`
|
||||
CWState string `json:"state"`
|
||||
CWClass string `json:"class"`
|
||||
CWBusyUntil time.Time `json:"busy_until"`
|
||||
CWLastUpdate time.Time `json:"last_update"`
|
||||
CWIdle bool `json:"idle"`
|
||||
Mux sync.Mutex
|
||||
HeartBeat time.Time `json:"heart_beat"`
|
||||
Login string `json:"nickname"`
|
||||
Active bool `json:"active"`
|
||||
TGUserID64 int64 `json:"tg_user_id"`
|
||||
MQ MQClient `json:"-"`
|
||||
CWUserID64 int64 `json:"user_id"`
|
||||
CWGuildID64 int64 `json:"guild_id"`
|
||||
CWRole string `json:"role"`
|
||||
CWState string `json:"state"`
|
||||
CWClass string `json:"class"`
|
||||
CWBusyUntil time.Time `json:"busy_until"`
|
||||
CWLastUpdate time.Time `json:"last_update"`
|
||||
CWIdle bool `json:"idle"`
|
||||
Mux sync.Mutex `json:"-"`
|
||||
}
|
||||
|
||||
type MQKeepAlive struct {
|
||||
|
Loading…
Reference in New Issue
Block a user