conf

package
v0.0.0-...-c242be3 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() (err error)

Types

type Config

type Config struct {
	*commconf.CommConf

	RPCServer              *commconf.RPCServer
	ServiceDiscoveryServer *commconf.ServiceDiscoveryServer
	RPCClient              *RPCClient
	Redis                  *Redis
	Mysql                  *Mysql
	Etcd                   *commconf.Etcd
	// contains filtered or unexported fields
}
var (
	Conf *Config
)

type Mysql

type Mysql struct {
	IM *commconf.MySQL
}

type RPCClient

type RPCClient struct {
	AccessClient *commconf.ServiceDiscoveryClient
}

type Redis

type Redis struct {
	*commconf.Redis
	Expire xtime.Duration
}

Jump to

Keyboard shortcuts

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