conf

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SshClient  *sshc.SshClientConf  `yaml:"sshclient"`
	Tunnel     []*tun.TunnelConf    `yaml:"tunnel"`
	SshD       *sshd.SshDConf       `yaml:"sshd"`
	SocksProxy *sshc.SocksProxyConf `yaml:"socksproxy"`
}

Config holds all the config values

func LoadConfig

func LoadConfig(filePath string) (*Config, error)

LoadConfig parses the [config].yaml file and loads its values into the Config struct

Jump to

Keyboard shortcuts

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