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

# Packages

Package oldevents contains types and logic for processing event data from older SDKs that use obsolete event schemas.

# Functions

GetEventPayloadMetadata parses EventPayloadMetadata values from an HTTP request.
NewEventDispatcher creates a handler for relaying events to LaunchDarkly for an environment.
NewHTTPEventPublisher creates a new HTTPEventPublisher.

# Constants

CurrentEventsSchemaVersion is the latest event schema version.
EventSchemaHeader is an HTTP header that describes the schema version for event requests.
EventUnsummarizedHeader is an HTTP header that denotes events being received have not gone through the standard event summarization process.
SummaryEventsSchemaVersion is the minimum event schema that supports summary events.
TagsHeader is an HTTP header that may be sent by SDKs that support application metadata.

# Structs

EventDispatcher relays events to LaunchDarkly for an environment.
EventPayloadMetadata represents HTTP header metadata that may be included in an event post from an SDK, which Relay should copy when it forwards the events to LaunchDarkly.
HTTPEventPublisher is the standard implementation of EventPublisher.

# Interfaces

EventPublisher is the interface for the component that buffers events and delivers them to LaunchDarkly.
OptionType defines optional parameters for NewHTTPEventPublisher.

# Type aliases

OptionBaseURI specifies a custom base URI for the events service.
OptionCapacity specifies the event queue capacity.
OptionFlushInterval specifies the interval for automatic flushes.
OptionURIPath specifies a custom endpoint URI path for the events service.