package
3.1.0
Repository: https://github.com/splitio/go-split-commons.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewManager constructs a new push manager.
NewProcessor creates new processor.
NewSegmentUpdateWorker creates SegmentUpdateWorker.
NewSplitUpdateWorker creates SplitUpdateWorker.
NewStatusTracker returns a new StatusTracker.

# Constants

Control type constants.
Control type constants.
Control type constants.
Message type constants.
Message type constants.
Message type constants.
SSE event type constants.
SSE event type constants.
SSE event type constants.
Status update contants that will be propagated to the push manager's user.
Status update contants that will be propagated to the push manager's user.
Status update contants that will be propagated to the push manager's user.
Status update contants that will be propagated to the push manager's user.
Update type constants.
Update type constants.
Update type constants.
Update type constants.

# Variables

ErrAlreadyRunning is the error to be returned when .Start() is called on an already running instance.
ErrEmptyEvent indicates an event without message and event fields.
ErrNotRunning is the error to be returned when .Stop() is called on a non-running instance.

# Structs

AblyError struct.
BaseMessage contains the basic message-specific fields and methods.
BaseUpdate contains fields & methods related to update-based messages.
ControlUpdate represents a control notification generated by the split push subsystem.
ManagerImpl implements the manager interface.
NotificationParserImpl implementas the NotificationParser interface.
OccupancyMessage contains fields & methods related to ocupancy messages.
ProcessorImpl struct for notification processor.
SegmentChangeUpdate represents a segment change notification generated in the split servers.
SegmentUpdateWorker struct.
SplitChangeUpdate represents a SplitChange notification generated in the split servers.
SplitKillUpdate represents a SplitKill notification generated in the split servers.
SplitUpdateWorker struct.
SSESyncEvent represents an SSE Sync event with only id (used for resuming connections).
StatusTrackerImpl is a concrete implementation of the StatusTracker interface.

# Interfaces

Event basic interface.
Manager interface contains public methods for push manager.
Message basic interface.
NotificationParser interface.
Processor provides the interface for an update-message processor.
StatusTracker keeps track of the status of the push subsystem and generates appropriate status change notifications.
Update basic interface.