Documentation ¶
Index ¶
- type WsNet
- func (w *WsNet) OnBoot(eng gnet.Engine) (action gnet.Action)
- func (w *WsNet) OnClose(c gnet.Conn, err error) (action gnet.Action)
- func (w *WsNet) OnOpen(c gnet.Conn) (out []byte, action gnet.Action)
- func (w *WsNet) OnShutdown(_ gnet.Engine)
- func (w *WsNet) OnTick() (delay time.Duration, action gnet.Action)
- func (w *WsNet) OnTraffic(c gnet.Conn) (action gnet.Action)
- func (w *WsNet) Run()
- func (w *WsNet) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WsNet ¶
type WsNet struct { gnet.Engine // contains filtered or unexported fields }
func (*WsNet) OnShutdown ¶
func (w *WsNet) OnShutdown(_ gnet.Engine)
Click to show internal directories.
Click to hide internal directories.