config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: AGPL-3.0 Imports: 4 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
	Etcd        discov.EtcdConf `json:",optional,inherit"`
	CacheRedis  cache.ClusterConf
	SysRpc      conf.RpcClientConf `json:",optional"`
	DgRpc       conf.RpcClientConf `json:",optional"`
	DmRpc       conf.RpcClientConf `json:",optional"`
	UdRpc       conf.RpcClientConf `json:",optional"`
	VidRpc      conf.RpcClientConf `json:",optional"`
	VidSip      conf.RpcClientConf `json:",optional"`
	TimedJobRpc 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"`
	Event                conf.EventConf            //和things内部交互的设置
}

Jump to

Keyboard shortcuts

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