device

package
v0.0.0-...-54d85e8 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2017 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CiscoDevice

type CiscoDevice struct {
	Username string
	Password string
	Enable   string

	Hostname string

	Echo      bool
	EnableLog bool
	Logdir    string
	Log       *os.File
	Prompt    string
	ReadChan  chan *string
	StopChan  chan struct{}

	Timeout int
	// contains filtered or unexported fields
}

func (*CiscoDevice) Close

func (d *CiscoDevice) Close()

func (*CiscoDevice) Cmd

func (d *CiscoDevice) Cmd(cmd string) (string, error)

func (*CiscoDevice) Connect

func (d *CiscoDevice) Connect() error

Jump to

Keyboard shortcuts

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