feature

package
v0.128.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Inject

func Inject(ctx context.Context, flagger Flagger) context.Context

Inject will inject the Flagger into the context.

Types

type BoolFlag

type BoolFlag = feature.BoolFlag

func AggregateTransformationTransport added in v0.127.0

func AggregateTransformationTransport() BoolFlag

AggregateTransformationTransport - Enable Transport interface for AggregateTransformation

func NarrowTransformationFilter added in v0.126.0

func NarrowTransformationFilter() BoolFlag

NarrowTransformationFilter - Enable the NarrowTransformation implementation of filter

type Flag

type Flag = feature.Flag

func ByKey

func ByKey(k string) (Flag, bool)

ByKey returns the Flag corresponding to the given key.

func Flags

func Flags() []Flag

Flags returns all feature flags.

type Flagger

type Flagger = feature.Flagger

type FloatFlag

type FloatFlag = feature.FloatFlag

type IntFlag

type IntFlag = feature.IntFlag

type StringFlag

type StringFlag = feature.StringFlag

Jump to

Keyboard shortcuts

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