conf

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Conf config
	Conf = &Config{}
)

global var

Functions

func Init

func Init() error

Init init conf

Types

type Config

type Config struct {
	// log
	Log *log.Config
	// ecode
	Ecode *ecode.Config
	// http client
	HTTPClient *httpClient
	// HTTPServer
	HTTPServer *blademaster.ServerConfig
	// tracer
	Tracer *trace.Config
	// auth
	Auth *auth.Config
	// verify
	Verify *verify.Config
	// CouponRPC
	CouponRPC *rpc.ClientConfig
	// ArchiveRPC
	ArchiveRPC *rpc.ClientConfig
	// DynamicRPC
	DynamicRPC *rpc.ClientConfig
	// LocationRPC
	LocationRPC *rpc.ClientConfig
	// CoinRPC
	CoinRPC *rpc.ClientConfig
	// TagRPC
	TagRPC *rpc.ClientConfig
	// ArticleRPC
	ArticleRPC *rpc.ClientConfig
	// ResourceRPC
	ResourceRPC *rpc.ClientConfig
	// RelationRPC
	RelationRPC *rpc.ClientConfig
	// ThumbupRPC
	ThumbupRPC *rpc.ClientConfig
	// DM2RPC
	Dm2RPC *rpc.ClientConfig
	// FavRPC
	FavRPC *rpc.ClientConfig
	// Host
	Host host
	// redis
	Redis *redisConf
	// degrade
	DegradeConfig *degradeConfig
	// WEB
	WEB *web
	// Tag
	Tag *tag
	// DefaultTop
	DefaultTop *defaultTop
	// Bfs
	Bfs *bfs
	// Infoc2
	Infoc2 *infoc.Config
	// Rule
	Rule *rule
	// Warden Client
	BroadcastClient *warden.ClientConfig
	CoinClient      *warden.ClientConfig
	ArcClient       *warden.ClientConfig
	AccClient       *warden.ClientConfig
	ShareClient     *warden.ClientConfig
	UGCClient       *warden.ClientConfig
	// bnj
	Bnj2019 *bnj2019
}

Config config set

Jump to

Keyboard shortcuts

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