environment

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2016 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKey added in v1.0.0

func GetKey(key string, prefix string) string

func GetValue added in v1.0.0

func GetValue(key string, prefix string) string

Types

type Reporter

type Reporter interface {
	Name() string
	IsLocal() bool
	IsTest() bool
	IsDeployed() bool

	Prefix() string
	GetKey(key string) string
	GetValue(key string) string
}

func NewDefaultReporter added in v0.1.0

func NewDefaultReporter(prefix string) (Reporter, error)

func NewReporter

func NewReporter(name string, prefix string) (Reporter, error)

Jump to

Keyboard shortcuts

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