Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientDemo ¶
type ClientDemo struct { }
ClientDemo Client demo
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 { }
ServerHandler ServerHandler
func (*ServerHandler) Disconnect ¶
func (h *ServerHandler) Disconnect(id string) error
Disconnect default listener
type StartOptions ¶
type StartOptions struct {
// contains filtered or unexported fields
}
StartOptions StartOptions
type TCPDialer ¶
type TCPDialer struct { }
TCPDialer TCPDialer
func (*TCPDialer) DialAndHandshake ¶
DialAndHandshake DialAndHandshake
type WebsocketDialer ¶
type WebsocketDialer struct { }
WebsocketDialer WebsocketDialer
func (*WebsocketDialer) DialAndHandshake ¶
func (d *WebsocketDialer) DialAndHandshake(ctx kim.DialerContext) (net.Conn, error)
DialAndHandshake DialAndHandshake
Click to show internal directories.
Click to hide internal directories.