featureflag

package
v0.0.0-...-d22e7c3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetBackend

func SetBackend(backend Backend)

SetBackend for feature flag so it can be used globally

func StopUpdate

func StopUpdate()

StopUpdate the feature flag means the checking to backend will be stopped

Types

type Backend

type Backend interface {
	GetString(key string) (string, error)
	GetBoolean(key string) (bool, error)
	GetInt(key string) (int, error)
}

Backend of feature flag

type FeatureFlag

type FeatureFlag struct {
	// contains filtered or unexported fields
}

FeatureFlag struct

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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