Documentation
¶
Index ¶
- Variables
- func MustLoad(fpaths ...string)
- func PrintWithJSON()
- type CORS
- type Captcha
- type Casbin
- type Config
- type GZIP
- type Gorm
- type HTTP
- type JWTAuth
- type Log
- type LogGormHook
- type LogHook
- type LogMongoHook
- type Menu
- type Monitor
- type MySQL
- type Postgres
- type RateLimiter
- type Redis
- type Root
- type Sqlite3
Constants ¶
This section is empty.
Variables ¶
View Source
var (
C = new(Config)
)
Functions ¶
func PrintWithJSON ¶
func PrintWithJSON()
Types ¶
type Config ¶
type Config struct { RunMode string WWW string Swagger bool PrintConfig bool HTTP HTTP Menu Menu Casbin Casbin Log Log LogGormHook LogGormHook LogMongoHook LogMongoHook Root Root JWTAuth JWTAuth Monitor Monitor Captcha Captcha RateLimiter RateLimiter CORS CORS GZIP GZIP Redis Redis Gorm Gorm MySQL MySQL Postgres Postgres Sqlite3 Sqlite3 }
func (*Config) IsDebugMode ¶
type LogGormHook ¶
type LogMongoHook ¶
type LogMongoHook struct {
Collection string
}
type MySQL ¶
type Postgres ¶
type RateLimiter ¶
Click to show internal directories.
Click to hide internal directories.