config

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Captcha

type Captcha struct {
	KeyLong   int   `json:",default=6"`
	ImgWidth  int   `json:",default=240"`
	ImgHeight int   `json:",default=80"`
	KeepTime  int64 `json:",default=180"`
}

type Config

type Config struct {
	rest.RestConf
	CacheRedis cache.ClusterConf
	DdEnable   bool               `json:",optional"`
	SysRpc     conf.RpcClientConf `json:",optional"`
	DiRpc      conf.RpcClientConf `json:",optional"`
	DmRpc      conf.RpcClientConf `json:",optional"`
	RuleRpc    conf.RpcClientConf `json:",optional"`
	Rej        struct {
		AccessSecret string
		AccessExpire int64
	} //注册token相关配置
	Proxy    conf.ProxyConf
	Captcha  Captcha
	OSS      conf.OSSConf  `json:",optional"`
	Map      conf.MapConf  `json:",optional"`
	OpenAuth conf.AuthConf `json:",optional"`
}

Jump to

Keyboard shortcuts

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