Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn interface { Start(readHandler ReadMessageHandler, reconnectHandler ReconnectHandler) (err error) Send(message []byte) }
type Local ¶
type Local struct {
// contains filtered or unexported fields
}
func (*Local) Start ¶
func (c *Local) Start(readHandler ReadMessageHandler, reconnectHandler ReconnectHandler) (err error)
type ReadMessageHandler ¶
type ReconnectHandler ¶ added in v0.4.2
type ReconnectHandler func(success bool)
type WebSocket ¶
type WebSocket struct {
// contains filtered or unexported fields
}
func NewWebSocket ¶
func (*WebSocket) Start ¶
func (c *WebSocket) Start(readHandler ReadMessageHandler, reconnectHandler ReconnectHandler) (err error)
Click to show internal directories.
Click to hide internal directories.