Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Connection Connection
WebSockets bool
Address string
ReadBufSize int
WriteBufSize int
Reconnected chan struct{}
}
func (*Client) ReadMessage ¶
func (*Client) WriteMessage ¶
type Connection ¶
type WebSocket ¶
type WebSocket struct {
sync.Mutex
Address string
TransportAddress string
ServerID string
SessionID string
Connection *websocket.Conn
Inbound chan []byte
Reconnected chan struct{}
}
func NewWebSocket ¶
Click to show internal directories.
Click to hide internal directories.