Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientDemo ¶
type ClientDemo struct {
// contains filtered or unexported fields
}
func (*ClientDemo) Start ¶
func (c *ClientDemo) Start(userID, prorocol, addr string)
type ServerDemo ¶
type ServerDemo struct {
// contains filtered or unexported fields
}
func (*ServerDemo) Start ¶
func (s *ServerDemo) Start(id, protocol, addr string)
type ServerHandler ¶
type ServerHandler struct {
// contains filtered or unexported fields
}
func (*ServerHandler) Disconnect ¶
func (h *ServerHandler) Disconnect(channelID string) error
Disconnect implements qim.StateListener
type StartOptions ¶
type StartOptions struct {
// contains filtered or unexported fields
}
type TCPDialer ¶
type TCPDialer struct {
// contains filtered or unexported fields
}
func (*TCPDialer) DialAndHandshake ¶
DialAndHandshake implements qim.Dialer
type WebSocketDialer ¶
type WebSocketDialer struct { }
func (*WebSocketDialer) DialAndHandshake ¶
func (*WebSocketDialer) DialAndHandshake(ctx qim.DialerContext) (net.Conn, error)
DialAndHandshake implements qim.Dialer
Click to show internal directories.
Click to hide internal directories.