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: 11 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 AuthJobConfig

type AuthJobConfig struct {
	AsoCleanURL string
}

AuthJobConfig auth job config

type Config

type Config struct {
	// base
	// elk
	Log *log.Config
	// http
	BM *bm.ServerConfig
	// identify
	//Identify *identify.Config
	// tracer
	Tracer *trace.Config
	// MySQL
	MySQL *sql.Config
	// MySQL
	OldMySQL *sql.Config
	// Databus
	Databus *databus.Config
	// AuthDataBus authService binlog
	AuthDataBus *databus.Config
	// DataUtil config
	DatabusUtil *databusutil.Config
	// auth rpc
	AuthRPC *rpc.ClientConfig
	// HTTPClientConfig
	HTTPClientConfig *bm.ClientConfig
	// AuthJobConfig job config
	AuthJobConfig *AuthJobConfig
	// user defined
	SyncLines int64
	IDXFrom   int64
	IDXTo     int64
}

Config config set

Jump to

Keyboard shortcuts

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