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

# Functions

GetEnvironmentID is a helper for extracting the EnvironmentID, if any, from the set of credentials.
NewEnvContext creates the internal implementation of EnvContext.

# Constants

LogNameIsEnvID means the log messages should be tagged with the last 4 characters of the environment ID.
LogNameIsSDKKey means the log messages should be tagged with the last 4 characters of the SDK key.

# Structs

EnvContextImplParams contains the constructor parameters for NewEnvContextImpl.
EnvIdentifiers contains environment and project name and key properties.
JSClientContext contains additional environment properties that are only relevant if this environment supports JavaScript clients (i.e.

# Interfaces

EnvContext is the interface for all Relay operations that are specific to one configured LD environment.

# Type aliases

LogNameMode is used in NewEnvContext to determine whether the environment's log messages should be tagged by SDK key or by environment ID.