conf

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConf

func LoadConf(filename string)

Types

type Conf

type Conf struct {
	HttpPort      int      `yaml:"http_port"`
	Global        bool     `yaml:"global"`
	Domains       []string `yaml:"domains"`
	LocalPort     int      `yaml:"local_port"`
	ServerAddress string   `yaml:"server_address"`
	Password      string   `yaml:"password"`
	LogFile       string   `yaml:"log_file"`
	LogLevel      string   `yaml:"log_level"`
}

func GetConf

func GetConf() Conf

Jump to

Keyboard shortcuts

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