infrastructure

package
v0.0.0-...-3eb98cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2017 License: MIT Imports: 2 Imported by: 1

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL