config

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2018 License: BSD-2-Clause Imports: 2 Imported by: 15

Documentation

Index

Constants

View Source
const ErrorCodeKeyNotFound = "key-not-found"

Variables

This section is empty.

Functions

func ErrorKeyNotFound added in v1.24.0

func ErrorKeyNotFound(key string) error

func SplitTrimCompact added in v1.20.0

func SplitTrimCompact(str string) []string

Types

type Reporter added in v1.20.0

type Reporter interface {
	Get(key string) (string, error)
	GetWithDefault(key string, defaultValue string) string

	Set(key string, value string)

	Delete(key string)

	WithScopes(scopes ...string) Reporter
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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