package
6.9.1
Repository: https://github.com/launchdarkly/ld-relay.git
Documentation: pkg.go.dev

# Functions

MakePingEvent creates a "ping" event for client-side SDKs.
MakeServerSideDeleteEvent creates a "delete" event for server-side SDKs.
MakeServerSideFlagsOnlyDeleteEvent creates a "delete" event for old server-side SDKs that use the flags-only stream.
MakeServerSideFlagsOnlyPatchEvent creates a "patch" event for old server-side SDKs that use the flags-only stream.
MakeServerSideFlagsOnlyPutEvent creates a "put" event for old server-side SDKs that use the flags-only stream.
MakeServerSidePatchEvent creates a "patch" event for server-side SDKs.
MakeServerSidePutEvent creates a "put" event for server-side SDKs.
NewEnvStreams creates an instance of EnvStreams.
NewStreamProvider creates a StreamProvider implementation for the specified kind of stream endpoint.

# Structs

EnvStreams encapsulates streaming behavior for a specific environment.

# Interfaces

EnvStoreQueries is a subset of DataStore methods that are used by EnvStreams to query existing data from the store, for generating "put" events.
EnvStreamProvider is an abstraction of publishing events to a stream for a specific environment.
EnvStreamUpdates is an interface representing the kinds of updates we can publish to streams.
StreamProvider is an abstraction of a specific kind of SSE event stream, such as the server-side SDK "/all" stream.