Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandleErrorFunc ¶
type HandleMessageFunc ¶
type HandleSessionFunc ¶
type HandleSessionFunc func(*Session)
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) HandleConnect ¶
func (w *Server) HandleConnect(fn HandleSessionFunc)
func (*Server) HandleError ¶
func (w *Server) HandleError(fn HandleErrorFunc)
func (*Server) HandleMessage ¶
func (w *Server) HandleMessage(fn HandleMessageFunc)
func (*Server) HandleSent ¶
func (w *Server) HandleSent(fn HandleMessageFunc)
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) RemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.