Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { // The websocket Connection Conn *websocket.Conn // Buffered channel of outbound messages Send chan []byte Host string Port string Path string Close chan bool MessageRx chan []byte }
func NewConnection ¶
func NewConnection( Host, Port, Path string, ) *Connection
func (*Connection) Connect ¶
func (c *Connection) Connect() error
func (*Connection) StartRX ¶
func (c *Connection) StartRX() error
func (*Connection) StartTX ¶
func (c *Connection) StartTX() error
Click to show internal directories.
Click to hide internal directories.