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 Auth

type Auth struct {
	Encryption string
	Salt       string
}

type Config

type Config struct {
	*commconf.CommConf

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

type MongoDB

type MongoDB struct {
	*commconf.MongoDB
	GroupCollection string
}

type Mysql

type Mysql struct {
	IM *commconf.MySQL
}

type RPCClient

type RPCClient struct {
	IdgenClient *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