Help us shape the future of Go! Take the 2026 Go Developer Survey

conf

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2025 License: MIT, 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"`
	DnsProxy   *sshc.DnsProxyConf   `yaml:"dnsproxy"`
}

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