Versions in this module Expand all Collapse all v6 v6.4.4 Aug 5, 2020 v6.4.3 Jul 2, 2020 v6.4.2 Jun 24, 2020 v6.4.1 Jun 21, 2020 v6.4.0 May 28, 2020 Changes in this version type HTTP + MaxContentLength int64 v6.3.1 May 13, 2020 v6.3.0 May 13, 2020 v6.2.1 May 12, 2020 v6.2.0 May 12, 2020 Changes in this version + var C = new(Config) + func MustLoad(fpaths ...string) + func PrintWithJSON() + type CORS struct + AllowCredentials bool + AllowHeaders []string + AllowMethods []string + AllowOrigins []string + Enable bool + MaxAge int + type Captcha struct + Height int + Length int + RedisDB int + RedisPrefix string + Store string + Width int + type Casbin struct + AutoLoad bool + AutoLoadInternal int + Debug bool + Enable bool + Model string + type Config struct + CORS CORS + Captcha Captcha + Casbin Casbin + GZIP GZIP + Gorm Gorm + HTTP HTTP + JWTAuth JWTAuth + Log Log + LogGormHook LogGormHook + LogMongoHook LogMongoHook + Menu Menu + Mongo Mongo + Monitor Monitor + MySQL MySQL + Postgres Postgres + PrintConfig bool + RateLimiter RateLimiter + Redis Redis + Root Root + RunMode string + Sqlite3 Sqlite3 + Swagger bool + UniqueID struct{ ... } + WWW string + func (c *Config) IsDebugMode() bool + type GZIP struct + Enable bool + ExcludedExtentions []string + ExcludedPaths []string + type Gorm struct + DBType string + Debug bool + EnableAutoMigrate bool + MaxIdleConns int + MaxLifetime int + MaxOpenConns int + TablePrefix string + type HTTP struct + CertFile string + Host string + KeyFile string + Port int + ShutdownTimeout int + type JWTAuth struct + Enable bool + Expired int + FilePath string + RedisDB int + RedisPrefix string + SigningKey string + SigningMethod string + Store string + type Log struct + EnableHook bool + Format string + Hook LogHook + HookLevels []string + HookMaxBuffer int + HookMaxThread int + Level int + Output string + OutputFile string + type LogGormHook struct + DBType string + MaxIdleConns int + MaxLifetime int + MaxOpenConns int + Table string + type LogHook string + func (h LogHook) IsGorm() bool + func (h LogHook) IsMongo() bool + type LogMongoHook struct + Collection string + type Menu struct + Data string + Enable bool + type Mongo struct + CollectionPrefix string + Database string + Timeout int + URI string + type Monitor struct + Addr string + ConfigDir string + Enable bool + type MySQL struct + DBName string + Host string + Parameters string + Password string + Port int + User string + func (a MySQL) DSN() string + type Postgres struct + DBName string + Host string + Password string + Port int + SSLMode string + User string + func (a Postgres) DSN() string + type RateLimiter struct + Count int64 + Enable bool + RedisDB int + type Redis struct + Addr string + Password string + type Root struct + Password string + RealName string + UserName string + type Sqlite3 struct + Path string + func (a Sqlite3) DSN() string Other modules containing this package github.com/LyricTian/gin-admin/v7 github.com/LyricTian/gin-admin/v8