factory

package
v1.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package factory bridges the openfeature package's isolated-instance constructor to the openfeature/isolated sub-package without exposing it publicly. Internal-only.

Index

Constants

This section is empty.

Variables

View Source
var CurrentAPI func() any

CurrentAPI is set by openfeature.init and read by isolated tests via factory.CurrentAPI. Returns the current singleton evaluation API as any to avoid an import cycle; callers must type-assert to [*openfeature.EvaluationAPI].

View Source
var NewAPI func() any

NewAPI is set by openfeature.init and read by openfeature/isolated.NewAPI. Returns the openfeature evaluation API as any to avoid an import cycle; callers must type-assert to [*openfeature.EvaluationAPI].

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL