Documentation ¶
Index ¶
- Variables
- func IsEnabled(cfg *Config) bool
- func IsNotFoundError(err error) bool
- func NewClient(lc fx.Lifecycle, name env.Name, provider openfeature.FeatureProvider) *openfeature.Client
- func NewFeatureProvider(params ClientParams) openfeature.FeatureProvider
- func Ping(ctx context.Context, client *openfeature.Client) error
- type ClientParams
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewFeatureProvider), fx.Provide(NewClient), )
Module for fx.
Functions ¶
func IsNotFoundError ¶ added in v1.191.2
IsNotFoundError for feature.
func NewClient ¶
func NewClient(lc fx.Lifecycle, name env.Name, provider openfeature.FeatureProvider) *openfeature.Client
NewClient for feature.
func NewFeatureProvider ¶ added in v1.191.2
func NewFeatureProvider(params ClientParams) openfeature.FeatureProvider
NewFeatureProvider for feature.
Types ¶
Click to show internal directories.
Click to hide internal directories.