Documentation
¶
Index ¶
- type Server
- func (s *Server) OnClosed(conn gnet.Conn, err error) (action gnet.Action)
- func (s *Server) OnInitComplete(srv gnet.Server) (action gnet.Action)
- func (s *Server) OnOpened(conn gnet.Conn) (out []byte, action gnet.Action)
- func (s *Server) OnShutdown(svr gnet.Server)
- func (s *Server) React(frame []byte, conn gnet.Conn) (out []byte, action gnet.Action)
- func (s *Server) Start() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶ added in v0.5.7
type Server struct { *gnet.EventServer // contains filtered or unexported fields }
func (*Server) OnInitComplete ¶ added in v1.0.0
func (*Server) OnShutdown ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.