config

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 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"`
	TimedSchedulerRpc 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"`
	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