config

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 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 `json:",optional"`
	Captcha              Captcha
	OssConf              conf.OssConf              `json:",optional"`
	Map                  conf.MapConf              `json:",optional"`
	OpenAuth             conf.AuthConf             `json:",optional"`
	WrongPasswordCounter conf.WrongPasswordCounter `json:",optional"`
}

Jump to

Keyboard shortcuts

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