package
Version:
v0.0.0-...-1faa35c
Opens a new window with list of versions in this module.
Published: Feb 10, 2019
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
HTTP struct {
Host string
Port string `envconfig:"PORT" default:"8080"`
Root string `default:"/"`
}
Facebook struct {
AppID string `envconfig:"TEST_FACEBOOK_APP_ID"`
Secret string
Version string
}
}
Config stores the configuration settings.
Load loads the configuration from the environment.
MustLoad loads the configuration from the environmnet
and panics if an error is encountered.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.