package
0.2.0
Repository: https://github.com/optimizely/go-sdk.git
Documentation: pkg.go.dev

# Packages

Package bucketer //.
Package evaluator //.
Package reasons //.

# Functions

NewCompositeExperimentService creates a new instance of the CompositeExperimentService.
NewCompositeFeatureService returns a new instance of the CompositeFeatureService.
NewCompositeService returns a new instance of the DefeaultDecisionEngine.
NewExperimentBucketerService returns a new instance of the ExperimentBucketerService.
NewRolloutService returns a new instance of the Rollout service.

# Constants

FeatureTest - the decision came from a feature test.
Rollout - the decision came from a rollout.

# Structs

CompositeExperimentService bridges together the various experiment decision services that ship by default with the SDK.
CompositeFeatureService is the default out-of-the-box feature decision service.
CompositeService is the entrypoint into the decision service.
Decision contains base information about a decision.
ExperimentBucketerService makes a decision using the experiment bucketer.
ExperimentDecision contains the decision information about an experiment.
ExperimentDecisionContext contains the information needed to be able to make a decision for a given experiment.
FeatureDecision contains the decision information about a feature.
FeatureDecisionContext contains the information needed to be able to make a decision for a given feature.
RolloutService makes a feature decision for a given feature rollout.

# Interfaces

ExperimentService can make a decision about an experiment.
FeatureService can make a decision about a Feature Flag (can be feature test or rollout).
Service interface is used to make a decision for a given feature or experiment.

# Type aliases

Source is where the decision came from.