mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 00:11:48 -06:00
implement client heartbeat #460.
This commit is contained in:
@@ -9,6 +9,10 @@ const (
|
||||
SYSTEM_HEARTBEAT = "system/heartbeat"
|
||||
)
|
||||
|
||||
const (
|
||||
CLIENT_HEARTBEAT = "client/heartbeat"
|
||||
)
|
||||
|
||||
const (
|
||||
SIGNAL_REQUEST = "signal/request"
|
||||
SIGNAL_RESTART = "signal/restart"
|
||||
|
||||
@@ -47,6 +47,7 @@ type Settings struct {
|
||||
ImplicitHosting bool `json:"implicit_hosting"`
|
||||
InactiveCursors bool `json:"inactive_cursors"`
|
||||
MercifulReconnect bool `json:"merciful_reconnect"`
|
||||
HeartbeatInterval int `json:"heartbeat_interval"`
|
||||
|
||||
// plugin scope
|
||||
Plugins PluginSettings `json:"plugins"`
|
||||
|
||||
Reference in New Issue
Block a user