config

package
v0.0.0-...-5f7400d Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	GitHub    *GitHub    `toml:"github"`
	Office365 *Office365 `toml:"office365"`
}

func Read

func Read(path string) (Config, error)

type GitHub

type GitHub struct {
	ClientID     string `toml:"clientID"`
	ClientSecret string `toml:"clientSecret"`
	Organisation string `toml:"organisation"`
}

type Office365

type Office365 struct {
	ClientID     string `toml:"clientID"`
	ClientSecret string `toml:"clientSecret"`
	Domain       string `toml:"domain"`
}

Jump to

Keyboard shortcuts

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