Versions in this module Expand all Collapse all v0 v0.2.0 Nov 26, 2026 Changes in this version type FeatureConfiguration + ServerURI string v0.1.0 Nov 26, 2026 Changes in this version + type FeatureConfiguration struct + CacheDuration time.Duration + ClientIdentifier string + HTTPClient *http.Client + Logger *slog.Logger + ProductMetadata ProductMetadata + ReleaseVersionOverride string + RequestTimeout time.Duration + func NewFeatureConfiguration(clientIdentifier string, productMetadata ProductMetadata) *FeatureConfiguration + type FeatureProvider struct + func NewFeatureProvider(configuration *FeatureConfiguration) (*FeatureProvider, error) + func (p *FeatureProvider) BooleanEvaluation(_ context.Context, flag string, defaultValue bool, ...) openfeature.BoolResolutionDetail + func (p *FeatureProvider) FloatEvaluation(_ context.Context, flag string, defaultValue float64, ...) openfeature.FloatResolutionDetail + func (p *FeatureProvider) Hooks() []openfeature.Hook + func (p *FeatureProvider) Init(evaluationContext openfeature.EvaluationContext) error + func (p *FeatureProvider) InitWithContext(ctx context.Context, _ openfeature.EvaluationContext) error + func (p *FeatureProvider) IntEvaluation(_ context.Context, flag string, defaultValue int64, ...) openfeature.IntResolutionDetail + func (p *FeatureProvider) Metadata() openfeature.Metadata + func (p *FeatureProvider) ObjectEvaluation(_ context.Context, flag string, defaultValue any, ...) openfeature.InterfaceResolutionDetail + func (p *FeatureProvider) Shutdown() + func (p *FeatureProvider) ShutdownWithContext(ctx context.Context) error + func (p *FeatureProvider) StringEvaluation(_ context.Context, flag string, defaultValue string, ...) openfeature.StringResolutionDetail + type ProductMetadata struct + func NewProductMetadata(name string) (ProductMetadata, error) + func NewProductMetadataWithVersion(name, version string) (ProductMetadata, error) + func (m ProductMetadata) Name() string + func (m ProductMetadata) Version() string