repos

package
v0.0.0-...-30135e4 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FeatureExists

func FeatureExists(tx *bolt.Tx, featureKey string) bool

Tell if a feature exists

func GetFeature

func GetFeature(tx *bolt.Tx, featureKey string) (m.FeatureFlag, error)

GetFeature gets a feature flag thanks to its key

func GetFeatures

func GetFeatures(tx *bolt.Tx) (m.FeatureFlags, error)

GetFeatures gets a list of feature flags

func PutFeature

func PutFeature(tx *bolt.Tx, feature m.FeatureFlag) error

Update a feature flag

func RemoveFeature

func RemoveFeature(tx *bolt.Tx, featureKey string) error

Delete a feature flag thanks to its key

Types

This section is empty.

Jump to

Keyboard shortcuts

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