type Core struct {
LongUrlConnTimeout int `json:"long_url_conn_timeout"`
CodeLen int `json:"code_len"`
CodeTtl int `json:"code_ttl"`
RedirectStatusCode int `json:"redirect_status_code"`
ExpiredKeepDays int `json:"expired_keep_days"`
CacheNotFoundValue string `json:"cache_not_found_value"`
}
type Redis struct {
Password string `json:"password"`
Host string `json:"host"`
Port int `json:"port"`
Db int `json:"db"`
ConnTimeout int `json:"conn_timeout"`
}
type Server struct {
Port int `json:"port"`
IdleTimeoutSeconds int `json:"idle_timeout_seconds"`
DbType string `json:"db_type"`
CacheType string `json:"cache_type"`
}