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
func (*CountHandler) OnPing ¶ added in v1.2.0
func (h *CountHandler) OnPing()
OnPing is the websocket ping handler
func (*CountHandler) OnPong ¶ added in v1.2.0
func (h *CountHandler) OnPong()
OnPong is the websocket pong 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
func (*StatusHandler) OnPing ¶ added in v1.2.0
func (h *StatusHandler) OnPing()
OnPing is the websocket ping handler
func (*StatusHandler) OnPong ¶ added in v1.2.0
func (h *StatusHandler) OnPong()
OnPong is the websocket pong handler
Click to show internal directories.
Click to hide internal directories.