Documentation ¶
Overview ¶
config package wraps configuration accessors
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { GoogleClientId string GoogleClientSecret string Host string SSLHost string StripeKey string StripePublishableKey string }
AppConfig is all global application configuration values It has a test mode and a production as per the datastore's appengine environment.
func NewAppConfig ¶
func NewAppConfig() *AppConfig
NewAppConfig returns the AppConfig that matches the current environment (test or prod) as returned by appengine.IsDevAppServer()
Click to show internal directories.
Click to hide internal directories.