Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server struct { Host string `toml:"host"` Port int `toml:"port"` } `toml:"server"` Database struct { Host string `toml:"host"` Port int `toml:"port"` User string `toml:"user"` Password string `toml:"password"` DBName string `toml:"db_name"` } `toml:"database"` Redis struct { Host string `toml:"host"` Port int `toml:"port"` Username string `toml:"username"` Password string `toml:"password"` DB int `toml:"db"` } `toml:"redis"` SearchService struct { Host string `toml:"host"` Port int `toml:"port"` } `toml:"search_service"` Compress struct { Level compress.Level `toml:"level"` } `toml:"compress"` Env struct { Type string `toml:"type"` } `toml:"env"` }
Click to show internal directories.
Click to hide internal directories.