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 MikroTikRouterOS ¶
func (*MikroTikRouterOS) Connect ¶
func (d *MikroTikRouterOS) Connect() error
func (*MikroTikRouterOS) Disconnect ¶
func (d *MikroTikRouterOS) Disconnect()
func (*MikroTikRouterOS) SendCommand ¶
func (d *MikroTikRouterOS) SendCommand(cmd string) (string, error)
func (*MikroTikRouterOS) SendConfigSet ¶
func (d *MikroTikRouterOS) SendConfigSet(cmds []string) (string, error)
func (*MikroTikRouterOS) SetTimeout ¶
func (d *MikroTikRouterOS) SetTimeout(timeout uint8)
Click to show internal directories.
Click to hide internal directories.