featureflags

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 1 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

func IsRoutesV2Enabled added in v0.7.0

func IsRoutesV2Enabled() bool

IsRoutesV2Enabled returns a boolean indicating if the experimental routes feature is enabled

Types

type OptionalFeatures

type OptionalFeatures struct {
	// FeatureName bool
	Backpressure bool

	// RoutesV2
	RoutesV2 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