Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Provide(GetConfig)
Module ...
Functions ¶
Types ¶
type Config ¶
type Config struct { Debug bool `json:"debug"` PprofPath string `json:"pprof_path"` ServerPort string `json:"server_port"` PublicDir string `json:"public_dir"` LogDir string `json:"log_dir"` MainDB string `json:"main_db"` Redis struct { Address string `json:"address"` Password string `json:"password"` DB int `json:"db"` } `json:"redis"` JWTSecret string `json:"jwt_secret"` DBConnectionPoolSize int `json:"db_connection_pool_size"` }
Config ...
Click to show internal directories.
Click to hide internal directories.