conf

package
v0.0.0-...-a5c93de Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfiguration

func LoadConfiguration(path string) error

加载配置文件

Types

type Configuration

type Configuration struct {
	DataBaseUrl   string `yaml:"DataBaseUrl"`
	Port          string `yaml:"Port"`
	RedisHost     string `yaml:"RedisHost"`
	RedisPassword string `yaml:"RedisPassword"`
}

func GetConfiguration

func GetConfiguration() *Configuration

获取配置

Jump to

Keyboard shortcuts

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