rpc

package
v0.0.0-...-447a163 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Debug bool
	// contains filtered or unexported fields
}

Client sends commands to mikrotik

func NewClient

func NewClient(ssh *connector.SSHConnection, debug bool) *Client

NewClient creates a new client to connect to

func (*Client) RunCommand

func (c *Client) RunCommand(cmd string) (string, error)

RunCommand runs a command on a mikrotik device

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL