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 all conf
	Conf = &Config{}
)

Functions

func Init

func Init() error

Init init conf

Types

type Bnj

type Bnj struct {
	Tick xtime.Duration
	Aids []int64
}

Bnj is

type Config

type Config struct {
	HTTPClient  *bm.ClientConfig
	ArchiveRPC  *rpc.ClientConfig
	ResourceRPC *rpc.ClientConfig
	Ecode       *ecode.Config
	Log         *log.Config
	Host        *Host
	AidGray     int64
	PadAid      int64
	PadCid      int64
	PhoneAid    int64
	PhoneCid    int64
	PadHDAid    int64
	PadHDCid    int64
	Bnj         *Bnj
	// mc
	Memcache *memcache.Config
	// Warden Client
	ArchiveClient *warden.ClientConfig
	UGCpayClient  *warden.ClientConfig
	AccountClient *warden.ClientConfig
}

Config is

type Host

type Host struct {
	Playurl   string
	PlayurlBk string
}

Host struct

Jump to

Keyboard shortcuts

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