Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewDefaultClient ¶
NewDefaultClient creates a default feature flag client which takes in a static list of enabled feature flag names and stores them as keys in a map.
func NewHardcodedBooleanClient ¶
NewHardcodedBooleanClient creates a hardcodedBooleanClient which always returns the value of `result` it's given. The hardcodedBooleanClient is used in testing and in shadow code paths where we want to force enable/disable a feature.
func NewNoopFeatureFlagClient ¶
func NewNoopFeatureFlagClient() Client
Click to show internal directories.
Click to hide internal directories.