features

package
v1.7.0-beta-5 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const CONTROL = "control"
View Source
const INTERPOLATION = "interpolation"

Variables

This section is empty.

Functions

func EncryptionKey

func EncryptionKey() string

Types

type FeatureFlags

type FeatureFlags map[string]struct{}

func Features

func Features() FeatureFlags

func (FeatureFlags) ControlEnabled

func (this FeatureFlags) ControlEnabled() bool

func (FeatureFlags) Enabled

func (this FeatureFlags) Enabled(name string) bool

func (FeatureFlags) InterpolationEnabled

func (this FeatureFlags) InterpolationEnabled() bool

func (FeatureFlags) Set

func (this FeatureFlags) Set(name string, active bool) error

func (FeatureFlags) SetControl

func (this FeatureFlags) SetControl(active bool)

func (FeatureFlags) SetInterpolation

func (this FeatureFlags) SetInterpolation(active bool)

func (FeatureFlags) Size

func (this FeatureFlags) Size() int

Jump to

Keyboard shortcuts

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