move redis config over to config file
This commit is contained in:
+9
-3
@@ -21,10 +21,16 @@ type StyleConfig struct {
|
||||
LogoPath string `json:"logo_path"`
|
||||
}
|
||||
|
||||
type RedisConfig struct {
|
||||
RedisURL string `json:"redis_url"`
|
||||
Prefix string `json:"prefix"`
|
||||
}
|
||||
|
||||
type WebserverConfig struct {
|
||||
Port int `json:"port"`
|
||||
BaseURL string `json:"base_url"`
|
||||
SessionStore string `json:"session_store"`
|
||||
Port int `json:"port"`
|
||||
BaseURL string `json:"base_url"`
|
||||
SessionStore string `json:"session_store"`
|
||||
RedisConfigInfo RedisConfig `json:"redis_config"`
|
||||
}
|
||||
|
||||
type EmailConfig struct {
|
||||
|
||||
Reference in New Issue
Block a user