host

package
v0.0.0-...-4fdc974 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Username       string `yaml:"username"`
	Password       string `yaml:"password"`
	EnablePassword string `yaml:"enable_password"`
}

type Host

type Host struct {
	Host          string `yaml:"host"`
	Port          int    `yaml:"port"`
	TransportType int    `yaml:"transport_type"`
	Account       `yaml:",inline"`
}

func (*Host) GetHostPort

func (h *Host) GetHostPort() string

func (*Host) HasAccount

func (h *Host) HasAccount() bool

Jump to

Keyboard shortcuts

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