# Functions
CreateConversionUserEvent creates and returns ConversionEvent for user.
CreateEventContext creates and returns EventContext.
CreateImpressionUserEvent creates and returns ImpressionEvent for user.
NewBatchEventProcessor returns a new instance of BatchEventProcessor with queueSize and flushInterval.
NewHTTPEventDispatcher creates a full http dispatcher.
NewInMemoryQueue returns new InMemoryQueue with given queueSize.
NewInMemoryQueueWithLogger returns new InMemoryQueue with given queueSize and logger.
NewQueueEventDispatcher creates a Dispatcher that queues in memory and then sends via go routine.
WithBatchSize sets the batch size as a config option to be passed into the NewProcessor method.
WithEventDispatcher sets the Processor Dispatcher as a config option to be passed into the NewProcessor method.
WithEventDispatcherMetrics sets metrics into the NewProcessor method.
WithEventEndPoint sets the end point as a config option to be passed into the NewProcessor method.
WithFlushInterval sets the flush interval as a config option to be passed into the NewProcessor method.
WithQueue sets the Processor Queue as a config option to be passed into the NewProcessor method.
WithQueueSize sets the queue size as a config option to be passed into the NewProcessor method.
WithSDKKey sets the SDKKey used to register for notifications.
# Constants
CloseEventDispatchTimeout holds the timeout value for the waiting for the dispatching events on client close.
CloseEventDispatchWaitTime holds the checking interval for the dispatching events on client close.
DefaultBatchSize holds the default value for the batch size.
DefaultEventEndPoint is used as the default endpoint for sending events.
DefaultEventFlushInterval holds the default value for the event flush interval.
DefaultEventQueueSize holds the default value for the event queue size.
# Variables
ClientName is the name of the client.
Version is the current version of the client.
# Structs
Batch - Context about the event to send in batch.
BatchEventProcessor is used out of the box by the SDK to queue up and batch events to be sent to the Optimizely log endpoint for results processing.
Context holds project-related contextual information about a UserEvent.
ConversionEvent represents a conversion event.
Decision represents a decision of a snapshot.
DecisionMetadata captures additional information regarding the decision.
ImpressionEvent represents an impression event.
InMemoryQueue represents a in-memory queue.
LogEvent represents a log event.
QueueEventDispatcher is a queued version of the event Dispatcher that queues, returns success, and dispatches events in the background.
Snapshot represents a snapshot of a visitor.
SnapshotEvent represents an event of a snapshot.
UserEvent represents a user event.
Visitor represents a visitor of an eventbatch.
VisitorAttribute represents an attribute of a visitor.
# Interfaces
Dispatcher dispatches events.
Processor processes events.
Queue represents a queue.
# Type aliases
BPOptionConfig is the BatchProcessor options that give you the ability to add one more more options before the processor is initialized.