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

# Functions

No description provided by the author
ErrorJSONMsg returns a json-encoded error message.
ErrorJSONMsgf returns a json-encoded error message using the printf formatter.
NewReader creates a new reader.
NewStringMemoizer creates a new uninitialized StringMemoizer.
RedactURL is equivalent to parsing a URL string and then calling Redacted() to replace passwords, if any, with xxxxx.

# Structs

PayloadReader is an implementation of io.Reader that reads bytes off the request body optionally decompresses them, and has a limit attached.
StringMemoizer is a simple encapsulation of a lazily evaluated-only-once string function.

# Type aliases

CleanupTasks accumulates a list of things which should be done at the end of a method unless Clear() is called.