config

package
v0.0.0-...-95e1a72 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	// Host is the hostname or IP address of the switch.
	Host string
	// Port is the port number of the switch.
	Port int32

	// Username is the username used to connect to the switch.
	Username string
	// Password is the password used to connect to the switch.
	Password string
}

Connection is a struct that holds the connection information for a switch. It is used to connect to the switch via SSH. The connection information is used as a parameter for the driver.Connect() method.

Jump to

Keyboard shortcuts

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