Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Port string `yaml:"port"` ClientID string `yaml:"clientID"` ClientSecret string `yaml:"clientSecret"` RedirectURI string `yaml:"redirectURI"` APIHost string `yaml:"apihost"` Salt string `yaml:"salt"` Scopes []string `yaml:"scopes,flow"` }
Configuration holds the values necessary to configure the application
func GetConfiguration ¶
func GetConfiguration(path string) (*Configuration, error)
GetConfiguration reads the file with the configuration and returns an struct with the fields
Click to show internal directories.
Click to hide internal directories.