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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Conf is global config object.
	Conf = &Config{}
)

Functions

func Init

func Init() (err error)

Init init config.

Types

type Concurrent

type Concurrent struct {
	Concurrent int
	Limit      int
}

Concurrent concurrent compute

type Config

type Config struct {
	// log
	Log *log.Config
	// Mysql
	MySQL *MySQL
	// tracer
	Tracer *trace.Config
	// http client
	HTTPClient *bm.ClientConfig
	// bm
	BM *bm.ServerConfig
	// concurrent
	Con *Concurrent
}

Config is project all config

type MailAddr

type MailAddr struct {
	Type int
	Addr []string
}

MailAddr mail send addr.

type MySQL

type MySQL struct {
	Rating *sql.Config
}

MySQL mysql config

Jump to

Keyboard shortcuts

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