Documentation ¶
Index ¶
- Constants
- func EncryptionKey() string
- type FeatureFlags
- func (this FeatureFlags) ControlEnabled() bool
- func (this FeatureFlags) Enabled(name string) bool
- func (this FeatureFlags) InterpolationEnabled() bool
- func (this FeatureFlags) Set(name string, active bool) error
- func (this FeatureFlags) SetControl(active bool)
- func (this FeatureFlags) SetInterpolation(active bool)
- func (this FeatureFlags) Size() int
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) SetControl ¶
func (this FeatureFlags) SetControl(active bool)
func (FeatureFlags) SetInterpolation ¶
func (this FeatureFlags) SetInterpolation(active bool)
func (FeatureFlags) Size ¶
func (this FeatureFlags) Size() int
Click to show internal directories.
Click to hide internal directories.