config

package
v0.0.0-...-ab87cb8 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Debug             bool
	Execute           bool
	DBUser            string
	DBPasswd          string
	GithubToken       string
	GithubOwner       string
	GithubRepo        string
	WebAddress        string
	GraceDays         int
	GrpcEnable        bool
	GrpcListeningPort int
}

Configuration defines the base configuration that can be passed to the WASTE system

var Config *Configuration

Config is the global configuration variable

func LoadConfiguration

func LoadConfiguration() *Configuration

LoadConfiguration loads configuration using viper

Jump to

Keyboard shortcuts

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