add disconnect reasons to dashboard and fix icons in sideview
This commit is contained in:
@@ -248,3 +248,9 @@ type ProxyClose struct {
|
||||
Type string `msgpack:"type"`
|
||||
ConnectionID string `msgpack:"connectionId"`
|
||||
}
|
||||
|
||||
type DisconnectInfo struct {
|
||||
Type string `msgpack:"type"`
|
||||
Reason string `msgpack:"reason"` // "normal", "panic", "crash", "network", "timeout"
|
||||
Detail string `msgpack:"detail,omitempty"` // error message
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user