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: 3 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

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

type KafkaProducer

type KafkaProducer struct {
	P2PTopic   string
	GroupTopic string
	Producer   *commconf.KafkaProducer
}

type RPCClient

type RPCClient struct {
	RegisterClient *commconf.ServiceDiscoveryClient
	ManagerClient  *commconf.ServiceDiscoveryClient
	IdgenClient    *commconf.ServiceDiscoveryClient
	NotifyClient   *commconf.ServiceDiscoveryClient
}

Jump to

Keyboard shortcuts

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