Versions in this module Expand all Collapse all v1 v1.0.9 Nov 25, 2021 v1.0.8 Nov 22, 2021 v1.0.7 Nov 22, 2021 v1.0.6 Nov 16, 2021 Changes in this version + var Config = new(Configuration) + func Run(cfg string) error + type CasbinConfiguration struct + ModelPath string + type Configuration struct + Casbin CasbinConfiguration + Jwt JwtConfiguration + Logs LogsConfiguration + Mysql MysqlConfiguration + RateLimit RateLimitConfiguration + Redis RedisConfiguration + System SystemConfiguration + Upload UploadConfiguration + Wechat WechatConfiguration + type JwtConfiguration struct + Key string + MaxRefresh int + Realm string + Timeout int + type LogsConfiguration struct + Compress bool + Level zapcore.Level + MaxAge int + MaxBackups int + MaxSize int + Path string + type MysqlConfiguration struct + Charset string + Collation string + Database string + Host string + LogMode bool + Password string + Port int + Query string + TablePrefix string + Username string + type RateLimitConfiguration struct + Max int64 + type RedisConfiguration struct + BinlogPos string + Database int + Host string + Password string + Port int + type SystemConfiguration struct + ApiVersion string + ConnectTimeout int + IdempotenceTokenName string + InitData bool + OperationLogAllowedToDelete bool + OperationLogDisabledPathArr []string + OperationLogDisabledPaths string + OperationLogKey string + Port int + PprofPort int + RSAPrivateBytes []byte + RSAPrivateKey string + RSAPublicBytes []byte + RSAPublicKey string + Transaction bool + UrlPathPrefix string + UseRedis bool + UseRedisService bool + type UploadConfiguration struct + CompressImageCronTask string + CompressImageOriginalSaveDir string + CompressImageRootDir string + MergeConcurrentCount uint + Minio UploadOssMinioConfiguration + SaveDir string + SingleMaxSize uint + type UploadOssMinioConfiguration struct + AccessId string + Bucket string + Enable bool + Endpoint string + Secret string + UseHttps bool + type WechatConfiguration struct + Official WechatOfficialConfiguration + type WechatOfficialConfiguration struct + AppId string + AppSecret string + Encoding string + TplMessageCronTask WechatOfficialTplMessageCronTaskConfiguration + type WechatOfficialTplMessageCronTaskConfiguration struct + Expr string + MiniProgramAppId string + MiniProgramPagePath string + TemplateId string + Users string