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
	Redis                  *Redis
	HBase                  *HBase
	Mysql                  *Mysql
	// contains filtered or unexported fields
}
var (
	Conf *Config
)

type HBase

type HBase struct {
	ZKAddr     string
	Table      string
	UserFamily string
	MsgFamily  string
}

type Mysql

type Mysql struct {
	IM *commconf.MySQL
}

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