config

package
v0.0.0-...-e0a0d6c Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2018 License: Apache-2.0 Imports: 4 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 {
	Interval      int
	Token         string
	Cache         string
	Organizations []string
	Domains       []string
	Origins       []string
	Members       []string
	Blacklist     []string
}

Config stores the viper config results after loading for layer passing around

func InitConfig

func InitConfig(in string) (constants Config, err error)

InitConfig reads in config file and ENV variables if set.

Jump to

Keyboard shortcuts

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