toml

package
v0.0.0-...-c14cf11 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2017 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBConfig

type DBConfig struct {
	Host     string
	Port     int
	User     string
	Password string
	DBname   string
}

type PillConfig

type PillConfig struct {
	GatewayOuterHost string
	GatewayOuterPort int
	GatewayInnerHost string
	GatewayInnerPort int
	WorkerInnerHost  string
	WorkerInnerPort  int
	GatewayName      string
	WorkerName       string
}

type TomlConfig

type TomlConfig struct {
	Etcd   DBConfig
	Pillx  PillConfig
	Redis0 DBConfig
}
var GlobalTomlConfig TomlConfig

func LoadTomlConfig

func LoadTomlConfig(filename string) (tc TomlConfig, err error)

Jump to

Keyboard shortcuts

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