infrastructure

package
v0.0.0-...-81ff50b Latest Latest
Warning

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

Go to latest
Published: Mar 22, 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"`
	Salt         string   `yaml:"salt"`
	Scopes       []string `yaml:"scopes,flow"`
	APIHost      string   `yaml:"apihost"`
}

Configuration stores the fields to configure the application

func GetConfiguration

func GetConfiguration(path string) (*Configuration, error)

GetConfiguration returns the configuration stored in a file

Jump to

Keyboard shortcuts

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