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: 18 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 {
	// elk
	Log *log.Config
	// App
	App *blademaster.App
	// tracer
	Tracer *trace.Config
	// Auth
	Auth *auth.Config
	// Verify
	Verify *verify.Config
	// Supervisor
	Supervisor *supervisor.Config
	// BM
	BM *httpServers
	// HTTPServer
	HTTPServer *blademaster.ServerConfig
	// Ecode
	Ecode *ecode.Config
	// ArchiveRPC
	AccountRPC  *rpc.ClientConfig
	ArticleRPC  *rpc.ClientConfig
	AssistRPC   *rpc.ClientConfig
	TagRPC      *rpc.ClientConfig
	FavoriteRPC *rpc.ClientConfig
	FilterRPC   *rpc.ClientConfig
	ThumbupRPC  *rpc.ClientConfig
	RelationRPC *rpc.ClientConfig
	MemberRPC   *rpc.ClientConfig
	// grpc
	AccClient  *warden.ClientConfig
	ArcClient  *warden.ClientConfig
	CoinClient *warden.ClientConfig
	UpClient   *warden.ClientConfig
	// Mysql
	Mysql *sql.Config
	// Redis
	Redis *redisConf
	// Mc
	Memcache *memConf
	// Rule
	Rule *rule
	// HTTP client
	HTTPClient *httpClient
	// Host
	Host *host
	// HBase hbase config
	HBase *Hbase
}

Config config set

type Hbase

type Hbase struct {
	*hbase.Config
	ReadTimeout time.Duration
}

Hbase .

Jump to

Keyboard shortcuts

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