Versions in this module Expand all Collapse all v0 v0.0.1 Sep 27, 2019 Changes in this version + type Connection struct + Conn net.Conn + Err error + func New(host string, port string) (c *Connection) + func (c *Connection) Close() (err error) + func (c *Connection) ReadMessage() (msg []byte, err error) + func (c *Connection) RelayOff(id int) (err error) + func (c *Connection) RelayOn(id int) (err error) + func (c *Connection) StatusRelays() (err error) + func (c *Connection) SwitchAllOff() (err error) + func (c *Connection) SwitchAllOn() (err error) + func (c *Connection) WriteMessage(msg string) (err error)