config

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 5 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:"KeyLong" yaml:"KeyLong"`     // captcha length
	ImgWidth  int `json:"ImgWidth" yaml:"ImgWidth"`   // captcha width
	ImgHeight int `json:"ImgHeight" yaml:"ImgHeight"` // captcha height
}

type Config

type Config struct {
	rest.RestConf
	Auth struct {
		AccessSecret string
		AccessExpire int64
	}
	LogConf   logx.LogConf       `json:"LogConf" yaml:"LogConf"`
	RedisConf redis.RedisConf    `json:"RedisConf" yaml:"RedisConf"`
	CoreRpc   zrpc.RpcClientConf `json:"CoreRpc" yaml:"CoreRpc"`
	Captcha   Captcha            `json:"Captcha" yaml:"Captcha"`
	DB        gormsql.GORMConf   `json:"DatabaseConf" yaml:"DatabaseConf"`
}

Jump to

Keyboard shortcuts

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