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

# Functions

No description provided by the author
NewStreamManager creates a StreamManager, but does not start the connection.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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.
MessageReceiver is responsible for transforming a potentially unreliable stream of SSE message from LaunchDarkly into a reliable sequence of commands for other components.
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

An Item is anything that can report its own ID and a human-readable description of itself.
MessageHandler defines the methods that StreamManager will call when it receives messages from the auto-configuration stream.

# Type aliases

An Action represents actions generated in response to invoking MessageReceiver's methods, which a caller should handle.