Documentation ¶
Index ¶
- type SplitProvider
- func (provider *SplitProvider) BooleanEvaluation(ctx context.Context, flag string, defaultValue bool, ...) openfeature.BoolResolutionDetail
- func (provider *SplitProvider) FloatEvaluation(ctx context.Context, flag string, defaultValue float64, ...) openfeature.FloatResolutionDetail
- func (provider *SplitProvider) Hooks() []openfeature.Hook
- func (provider *SplitProvider) IntEvaluation(ctx context.Context, flag string, defaultValue int64, ...) openfeature.IntResolutionDetail
- func (provider *SplitProvider) Metadata() openfeature.Metadata
- func (provider *SplitProvider) ObjectEvaluation(ctx context.Context, flag string, defaultValue interface{}, ...) openfeature.InterfaceResolutionDetail
- func (provider *SplitProvider) StringEvaluation(ctx context.Context, flag string, defaultValue string, ...) openfeature.StringResolutionDetail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SplitProvider ¶
type SplitProvider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider(splitClient client.SplitClient) (*SplitProvider, error)
func NewProviderSimple ¶
func NewProviderSimple(apiKey string) (*SplitProvider, error)
func (*SplitProvider) BooleanEvaluation ¶
func (provider *SplitProvider) BooleanEvaluation(ctx context.Context, flag string, defaultValue bool, evalCtx openfeature.FlattenedContext) openfeature.BoolResolutionDetail
func (*SplitProvider) FloatEvaluation ¶
func (provider *SplitProvider) FloatEvaluation(ctx context.Context, flag string, defaultValue float64, evalCtx openfeature.FlattenedContext) openfeature.FloatResolutionDetail
func (*SplitProvider) Hooks ¶
func (provider *SplitProvider) Hooks() []openfeature.Hook
func (*SplitProvider) IntEvaluation ¶
func (provider *SplitProvider) IntEvaluation(ctx context.Context, flag string, defaultValue int64, evalCtx openfeature.FlattenedContext) openfeature.IntResolutionDetail
func (*SplitProvider) Metadata ¶
func (provider *SplitProvider) Metadata() openfeature.Metadata
func (*SplitProvider) ObjectEvaluation ¶
func (provider *SplitProvider) ObjectEvaluation(ctx context.Context, flag string, defaultValue interface{}, evalCtx openfeature.FlattenedContext) openfeature.InterfaceResolutionDetail
func (*SplitProvider) StringEvaluation ¶
func (provider *SplitProvider) StringEvaluation(ctx context.Context, flag string, defaultValue string, evalCtx openfeature.FlattenedContext) openfeature.StringResolutionDetail
Click to show internal directories.
Click to hide internal directories.