Documentation ¶
Overview ¶
Package environment manages the environment variables passed into the applications
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAPISecret ¶
func GetAPISecret() []byte
GetAPISecret exists as we don't want others accessing the var for editing purposes.
Types ¶
type ConfigMap ¶
type ConfigMap struct { App web `yaml:"web"` Api api `yaml:"api"` DB db `yaml:"db"` Stripe configStripe `yaml:"stripe"` }
func ReadEnvironmentFile ¶
ReadEnvironmentFile reads the content of the web.config yaml file and parses them into a ConfigMap struct.
Click to show internal directories.
Click to hide internal directories.