model

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	InfoLevel string `yaml:"info_level,omitempty"`
}

type Host

type Host struct {
	ID             int    `yaml:"-"`
	Title          string `yaml:"title"`
	Description    string `yaml:"description,omitempty"`
	Address        string `yaml:"address"`
	RemotePort     string `yaml:"network_port,omitempty"`
	LoginName      string `yaml:"username,omitempty"`
	PrivateKeyPath string `yaml:"identity_file_path,omitempty"`
}

func NewHost

func NewHost(id int, title, description, address, loginName, privateKeyPath, remotePort string) Host

func (Host) Clone

func (h Host) Clone() Host

Jump to

Keyboard shortcuts

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