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

# Functions

NewErrorDecision returns a decision with error.
NewOptimizelyDecision creates and returns a new instance of OptimizelyDecision.
WithBatchEventProcessor sets event processor on a client.
WithConfigManager sets polling config manager on a client.
WithContext allows user to pass in their own context to override the default one in the client.
WithDatafileAccessToken sets authenticated datafile token.
WithDecisionService sets decision service on a client.
WithDefaultDecideOptions sets default decide options on a client.
WithEventDispatcher sets event dispatcher on the factory.
WithEventProcessor sets event processor on a client.
WithExperimentOverrides sets the experiment override store on the decision service.
WithMetricsRegistry allows user to pass in their own implementation of a metrics collector.
WithPollingConfigManager sets polling config manager on a client.
WithPollingConfigManagerDatafileAccessToken sets polling config manager with auth datafile token on a client.
WithUserProfileService sets the user profile service on the decision service.

# Structs

OptimizelyClient is the entry point to the Optimizely SDK.
OptimizelyDecision defines the decision returned by decide api.
OptimizelyFactory is used to customize and construct an instance of the OptimizelyClient.
OptimizelyUserContext defines user contexts that the SDK will use to make decisions for.

# Type aliases

OptionFunc is used to provide custom client configuration to the OptimizelyFactory.