Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServerHandler ¶
Types ¶
type ClientDemo ¶
type ClientDemo struct { }
func (*ClientDemo) Start ¶
func (c *ClientDemo) Start(userID, protocol, addr string)
type ServerDemo ¶
type ServerDemo struct{}
func (*ServerDemo) Start ¶
func (s *ServerDemo) Start(id, protocol, addr string)
type ServerHandler ¶
type ServerHandler struct { }
func (*ServerHandler) Disconnect ¶
func (s *ServerHandler) Disconnect(id string) error
Disconnect disconnects this connection
type StartOptions ¶
type StartOptions struct {
// contains filtered or unexported fields
}
type WebsocketDialer ¶
type WebsocketDialer struct { }
WebsocketDialer WebsocketDialer
func (*WebsocketDialer) DialAndHandshake ¶
func (d *WebsocketDialer) DialAndHandshake(ctx him.DialerContext) (net.Conn, error)
DialAndHandshake DialAndHandshake
Click to show internal directories.
Click to hide internal directories.