conf

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 6 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"`
	Web       *web.WebConf        `yaml:"web"`
}

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
JackTT - Gopher 🇻🇳