Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDevice ¶
func NewDevice(connection connections.Connection, DeviceType string) (types.Device, error)
Types ¶
type SROSDevice ¶
func (*SROSDevice) Connect ¶
func (d *SROSDevice) Connect() error
func (*SROSDevice) Disconnect ¶
func (d *SROSDevice) Disconnect()
func (*SROSDevice) SendCommand ¶
func (d *SROSDevice) SendCommand(cmd string) (string, error)
func (*SROSDevice) SendConfigSet ¶
func (d *SROSDevice) SendConfigSet(cmds []string) (string, error)
func (*SROSDevice) SetTimeout ¶
func (d *SROSDevice) SetTimeout(timeout uint8)
Click to show internal directories.
Click to hide internal directories.