config

package
v0.0.0-...-2486230 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConfig

type ClientConfig struct {
}

func DefaultClientConfig

func DefaultClientConfig() *ClientConfig

type ServerConfig

type ServerConfig struct {
	Addr string
	Port uint

	HostKeyPath string
	PasswdAuth  bool

	Shell string

	LogPath  string
	LogLevel string

	DefaultUser   string
	DefaultPasswd string
}

func DefaultServerConfig

func DefaultServerConfig() *ServerConfig

func GetServerConfig

func GetServerConfig() (*ServerConfig, error)

func LoadServerConfig

func LoadServerConfig(path string) (*ServerConfig, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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