Versions in this module Expand all Collapse all v1 v1.1.0 Nov 12, 2023 Changes in this version type Config + Http *Http + Vip *Vip + type Http struct + ProxyOpen bool + ProxyUrl string + Timeout time.Duration + type Vip struct + InitDailyCron string v1.0.0 Oct 17, 2023 v0 v0.9.23 Sep 23, 2023 Changes in this version + func Get(ctx context.Context, pattern string, def ...interface{}) (*gvar.Var, error) + func GetBool(ctx context.Context, pattern string, def ...interface{}) (bool, error) + func GetInt(ctx context.Context, pattern string, def ...interface{}) int + func GetMapStrStr(ctx context.Context, pattern string, def ...interface{}) map[string]string + func GetString(ctx context.Context, pattern string, def ...interface{}) string + type App struct + AdminEmail []string + Debug bool + Env string + JuheKey string + JuheUrl string + type Config struct + App *App + Email *Email + Filesystem *Filesystem + Jwt *Jwt + Redis *Redis + var Cfg *Config + func (c *Config) ServerId() string + type CosSystem struct + Bucket string + Region string + SecretId string + SecretKey string + type Email struct + FromName string + Host string + Password string + Port int + UserName string + type Filesystem struct + Cos CosSystem + Default string + Local LocalSystem + Oss OssSystem + Qiniu QiniuSystem + type Jwt struct + BufferTime int64 + ExpiresTime int64 + Secret string + type LocalSystem struct + Domain string + Root string + type OssSystem struct + AccessID string + AccessSecret string + Bucket string + Endpoint string + type QiniuSystem struct + AccessKey string + Bucket string + Domain string + SecretKey string + type Redis struct + Auth string + Database int + Host string + Port int