conf

package
v0.0.0-...-51142b9 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfigFile

func LoadConfigFile(path string) (err error)

Types

type Config

type Config struct {
	RedisConf RedisConf  `toml:"redis_conf"`
	LogConf   log.Config `toml:"log_conf"`
}
var (
	GoServerConf Config
)

type RedisConf

type RedisConf struct {
	Addr string `toml:"addr"`
}

Jump to

Keyboard shortcuts

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