Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CountHandler ¶ added in v0.11.0
type CountHandler struct {
at.ContextAware
// contains filtered or unexported fields
}
CountHandler is the websocket handler
func (*CountHandler) OnDisconnect ¶ added in v0.11.0
func (h *CountHandler) OnDisconnect()
OnDisconnect is the websocket disconnection handler
func (*CountHandler) OnMessage ¶ added in v0.11.0
func (h *CountHandler) OnMessage(data []byte)
OnMessage is the websocket message handler
type StatusHandler ¶ added in v0.11.0
type StatusHandler struct {
at.ContextAware
// contains filtered or unexported fields
}
StatusHandler is the websocket handler
func (*StatusHandler) OnDisconnect ¶ added in v0.11.0
func (h *StatusHandler) OnDisconnect()
OnDisconnect is the websocket disconnection handler
func (*StatusHandler) OnMessage ¶ added in v0.11.0
func (h *StatusHandler) OnMessage(data []byte)
OnMessage is the websocket message handler
Source Files
¶
- counthandler.go
- statushandler.go
Click to show internal directories.
Click to hide internal directories.