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{}
)

Functions

func Init

func Init() error

Init init conf

Types

type BuglyConf

type BuglyConf struct {
	Host             string
	UrlRetryCount    int
	CookieUsageUpper int
	IssuePageSize    int
	IssueCountUpper  int

	SuperOwner []string
}

BuglyConf Bugly Conf.

type Config

type Config struct {
	Log *log.Config

	Bugly *BuglyConf

	BM *bm.ServerConfig

	Ecode *ecode.Config

	ORM *orm.Config

	HTTPClient *bm.ClientConfig

	Mail *Mail

	Auth *permit.Config

	Memcache *Memcache

	Scheduler *Scheduler

	Tapd *TapdConf
}

Config .

type Mail

type Mail struct {
	Host        string
	Port        int
	Username    string
	Password    string
	NoticeOwner []string
}

Mail mail

type Memcache

type Memcache struct {
	*memcache.Config
	Expire xtime.Duration
}

Memcache memcache

type Scheduler

type Scheduler struct {
	BatchRunEnableVersion string

	BatchRunUpdateTapdBug string

	DisableBatchRunOverTime string
	BatchRunOverHourTime    int

	SyncWechatContact string

	Active bool
}

Scheduler scheduler

type Tapd

type Tapd struct {
	IterationWorkspaceIDs []string
	StoryWorkspaceIDs     []string
	BugWorkspaceIDs       []string
	IPS                   int
	SPS                   int
	SCPS                  int
	CPS                   int
	StoryFilePath         string
	ChangeFilePath        string
	IterationFilePath     string
	BugFilePath           string
	RetryTime             int
	WaitTime              xtime.Duration
}

Tapd Tapd info

type TapdConf

type TapdConf struct {
	BugOperateAuth bool
}

TapdConf Tapd Conf.

Jump to

Keyboard shortcuts

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