pkg

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayI

type GatewayI interface {
	Login() error
	Reboot() error
}

func NewGateway

func NewGateway(gateway, username, password, ip string, dryRun bool) (GatewayI, error)

type NokiaGateway

type NokiaGateway struct {
	Username, Password, IP string
	DryRun                 bool
	// contains filtered or unexported fields
}

func (*NokiaGateway) Login

func (n *NokiaGateway) Login() error

func (*NokiaGateway) Reboot

func (n *NokiaGateway) Reboot() error

Jump to

Keyboard shortcuts

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