Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FeatureFlag ¶
type FeatureFlag interface { EvalThenExecute(flag, variant string, featureFunc FeatureFunc) (ok bool, err error) Eval(flag, variant string) (ok bool, err error) EvalAttachment(flag string) (evalResult interface{}, err error) }
func NewFeatureFlag ¶
func NewFeatureFlag(conf *FeatureFlagConfig, ctx context.Context) FeatureFlag
type FeatureFlagConfig ¶
type FeatureFunc ¶
type FeatureFunc func() error
Click to show internal directories.
Click to hide internal directories.