feature

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Defaults

type Defaults map[string]bool

type Feature

type Feature interface {
	IsEnabled(flag string) bool
	Enable(flag string) error
	Disable(flag string) error
	GetAllFlags() map[string]bool
}

func ProvideFeature

func ProvideFeature() Feature

func ProvideFeatureForTesting

func ProvideFeatureForTesting(d Defaults) Feature

Jump to

Keyboard shortcuts

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