package
4.2.2-rc3
Repository: https://github.com/splitio/go-toolkit.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewClient creates new SSEClient.
NewEventBuilder constructs a new event builder.

# Variables

ErrNotIdle is the error tor eturn when Do() gets called on an already running client.
ErrReadingStream is the error to return when channel event channel is closed because of an error reading the stream.
ErrTimeout is the error to return when keepalive timeout is exceeded.

# Structs

Client struct.
ErrConnectionFailed contains a nested error.
EventBuilderImpl implenets the EventBuilder interface.
RawEventImpl represents an incoming SSE event.

# Interfaces

EventBuilder interface.
RawEvent interface contains the methods that expose the incoming SSE properties.