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

This section is empty.

Functions

func Init

func Init() (err error)

Init init conf

Types

type Click

type Click struct {
	WebSecret string
	OutSecret string
	// aes
	AesKey  string
	AesIv   string
	AesSalt string
	// aes2
	AesKey2        string
	AesIv2         string
	AesSalt2       string
	From           []int64
	FromInline     []int64
	InlineDuration int64 // inline play duration line, 10s
}

Click click config.

type Config

type Config struct {
	Infoc2  *Infoc2
	Env     string
	Tracer  *trace.Config
	Xlog    *log.Config
	App     *bm.App
	BM      *bm.ServerConfig
	Auth    *auth.Config
	Verify  *verify.Config
	AccRPC  *rpc.ClientConfig
	HisRPC  *rpc.ClientConfig
	DataBus *Databus
	Click   *Click
}

Config config .

var (
	Conf *Config
)

global conf

type Databus

type Databus struct {
	Merge *databus.Config
}

Databus .

type Infoc2

type Infoc2 struct {
	RealTime   *infoc.Config
	Statistics *infoc.Config
}

Infoc2 Infoc2.

Jump to

Keyboard shortcuts

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