config

package
v0.0.0-...-a5c5f28 Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseConf

func ParseConf(path *string, config *Conf)

Types

type Conf

type Conf struct {
	Port       int    `yaml:"port"`
	TurnOnAuth bool   `yaml:trun_on_auth`
	Passwd     string `yaml:"passwd"`
	Pdaddr     string `yaml:"pdaddr"`
	Logpath    string `yaml:"logfile"`
	Loglevel   string `yaml:"loglevel"`
	Ssaddr     string `yaml:"statsaddr"`
	Ssname     string `yaml:"stats"`
}
var ConfigData Conf

Jump to

Keyboard shortcuts

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