mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 08:21:50 -06:00
implement client heartbeat #460.
This commit is contained in:
@@ -11,10 +11,11 @@ type Message struct {
|
||||
}
|
||||
|
||||
type SystemInit struct {
|
||||
Event string `json:"event"`
|
||||
Locks map[string]string `json:"locks"`
|
||||
ImplicitHosting bool `json:"implicit_hosting"`
|
||||
FileTransfer bool `json:"file_transfer"`
|
||||
Event string `json:"event"`
|
||||
Locks map[string]string `json:"locks"`
|
||||
ImplicitHosting bool `json:"implicit_hosting"`
|
||||
FileTransfer bool `json:"file_transfer"`
|
||||
HeartbeatInterval int `json:"heartbeat_interval"`
|
||||
}
|
||||
|
||||
type SystemMessage struct {
|
||||
|
||||
Reference in New Issue
Block a user