featureflags

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(optionalFeatures OptionalFeatures)

Initialize initializes the feature flag options

func IsBackpressureEnabled

func IsBackpressureEnabled() bool

IsBackpressureEnabled returns a boolean indicating if the experimental backpressure feature is enabled

Types

type OptionalFeatures

type OptionalFeatures struct {
	// FeatureName bool
	Backpressure bool
}

OptionalFeatures is a struct to enable/disable optional features

var (
	// Features describes whether an optional feature is enabled
	Features OptionalFeatures
)

Jump to

Keyboard shortcuts

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