11 lines
443 B
Go
11 lines
443 B
Go
package config
|
|
|
|
type ServerConfig struct {
|
|
ServerPort int `mapstructure:"SERVER_PORT"`
|
|
TusServerPort int `mapstructure:"TUS_SERVER_PORT"`
|
|
AllowedOrigins string `mapstructure:"ALLOWED_ORIGINS"`
|
|
ClientRedirectURL string `mapstructure:"CLIENT_REDIRECT_URL"`
|
|
ServerDomain string `mapstructure:"SERVER_DOMAIN"`
|
|
APIKey string `mapstructure:"API_KEY"`
|
|
Debug bool `mapstructure:"DEBUG_MODE"`
|
|
}
|