Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvAsInt ¶
GetEnvAsInt gets an environment variable as integer with a fallback
Types ¶
type CORSConfig ¶
type CORSConfig struct {
AllowedOrigins []string
}
type Config ¶
type Config struct {
Server ServerConfig
Database DatabaseConfig
CORS CORSConfig
}
type DatabaseConfig ¶
type DatabaseConfig struct {
Path string
}
type ServerConfig ¶
Click to show internal directories.
Click to hide internal directories.