freifunkmanager/websocket/msg.go

14 lines
284 B
Go

package websocket
const (
MessageTypeConnect = "connect"
MessageTypeLogin = "login"
MessageTypeAuthStatus = "auth_status"
MessageTypeLogout = "logout"
MessageTypeSystemNode = "node-system"
MessageTypeCurrentNode = "node-current"
MessageTypeStats = "stats"
)