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

# Functions

NewStreamManager creates a StreamManager, but does not start the connection.

# Constants

DeleteEvent is the SSE event name corresponding to DeleteMessageData.
PatchEvent is the SSE event name corresponding to PatchMessageData.
PutEvent is the SSE event name corresponding to PutMessageData.
ReconnectEvent is the SSE event name for a message that forces a stream reconnect.

# Structs

DeleteMessageData is the JSON data for an SSE message that removes an environment.
PatchMessageData is the JSON data for an SSE message that adds or updates a single environment.
PutContent is the environent map within PutMessageData.
PutMessageData is the JSON data for an SSE message that provides a full set of environments.
StreamManager manages the auto-configuration SSE stream.

# Interfaces

MessageHandler defines the methods that StreamManager will call when it receives messages from the auto-configuration stream.