config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2016 License: MIT Imports: 2 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 {
	WebhookSecret string `envconfig:"WEBHOOK_SECRET"`
	Token         string `envconfig:"TOKEN"`

	ReviewedLabel       string `envconfig:"REVIEWED_LABEL"        default:"reviewed"`
	ReviewSkippedLabel  string `envconfig:"EVIEW_SKIPPED_LABEL"  default:"no review"`
	TestingPassedLabel  string `envconfig:"TESTING_PASSED_LABEL"  default:"qa+"`
	TestingFailedLabel  string `envconfig:"TESTING_FAILED_LABEL"  default:"qa-"`
	TestingSkippedLabel string `envconfig:"TESTING_SKIPPED_LABEL" default:"no qa"`
}

func Get

func Get() Config

Jump to

Keyboard shortcuts

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