conf

package
v0.0.0-...-68bdf18 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadGlobalConfig

func LoadGlobalConfig(path string)

Types

type GlobalConfigure

type GlobalConfigure struct {
	BrokerPort int
	AdminPort  int
	//broker连接个数限制
	BrokerConnectionLimit int
	//admin连接个数限制
	AdminConnectionLimit int
	DbHost               string
	DbPort               int
	DbName               string
	DbCollectionName     string
	CacheExpiredTime     int
}
var GlobalConf GlobalConfigure

Jump to

Keyboard shortcuts

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