conf

package
v0.0.0-...-b24e085 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RpcAddr, EtcdAddr     string
	Topics                []string
	KafkaClusterServers   []string
	Servers               []string
	OfficialAccountClient *rpcx.Client
	SmsClient             *rpcx.Client
	Cconfig               *GlobalConfig = new(GlobalConfig)
)

Functions

func FindServer

func FindServer(server string, servers []string) (name string, exist bool)

Types

type GlobalConfig

type GlobalConfig struct {
	AppName string
	RunMode string
}

Jump to

Keyboard shortcuts

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