Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Debug bool `toml:"debug"` Server ServerConfig `toml:"server"` Files FileConfig `toml:"files"` }
A Config is the top-level toml-serializaible config struct
func LoadConfig ¶
type FileConfig ¶
type FileConfig struct { StatusFile string `toml:"status_file"` DBFile string `toml:"db_file"` DBType string `toml:"db_type"` // used to connect to worker CACert string `toml:"ca_cert"` }
A FileConfig contains paths to special files
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
A Manager represents a manager server
func GetTUNASyncManager ¶
GetTUNASyncManager returns the manager from config
Click to show internal directories.
Click to hide internal directories.