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: 10 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 Bugly2Tapd

type Bugly2Tapd struct {
	ProjectIds []string
}

Bugly2Tapd Bugly to Tapd

type BuglyConf

type BuglyConf struct {
	Host    string
	Cookie  string
	Token   string
	Version 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

	Scheduler *Scheduler

	Tapd *Tapd

	Mail *Mail

	Memcache *Memcache

	Bugly2Tapd *Bugly2Tapd
}

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 {
	SaveTapdTime string
}

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

Jump to

Keyboard shortcuts

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