Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotConnected = errors.New("socket connection is not initialized")
Functions ¶
This section is empty.
Types ¶
type WebSocketConnection ¶
type WebSocketConnection struct {
// contains filtered or unexported fields
}
func (*WebSocketConnection) Close ¶
func (ws *WebSocketConnection) Close() error
func (*WebSocketConnection) Receive ¶
func (ws *WebSocketConnection) Receive(v *[]byte) error
func (*WebSocketConnection) Send ¶
func (ws *WebSocketConnection) Send(v []byte) error
Click to show internal directories.
Click to hide internal directories.