Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DatabaseURL string
HTTPAddress string
GRPCAddress string
SendGridAPIKey string
FromAddress string
FromName string
Environment Environment
}
Config holds application configuration
type Environment ¶
type Environment string
Environment represents the application environment
const ( Development Environment = "development" Production Environment = "production" )
func ParseEnvironment ¶
func ParseEnvironment(s string) Environment
ParseEnvironment parses a string into an Environment type
Click to show internal directories.
Click to hide internal directories.