Directories
¶
| Path | Synopsis |
|---|---|
|
Package awsnotmodified tells the error the AWS SDK returns for a conditional request answered with 304.
|
Package awsnotmodified tells the error the AWS SDK returns for a conditional request answered with 304. |
|
Package boundedio reads a stream into memory within a limit.
|
Package boundedio reads a stream into memory within a limit. |
|
Package ctxwait waits for a duration or for the end of a context, whichever comes first.
|
Package ctxwait waits for a duration or for the end of a context, whichever comes first. |
|
Package googlecreds tells the kind of a Google credentials JSON blob, so that a Google client built from it gets the matching credentials type: a service account, an authorized user, an external account and the others.
|
Package googlecreds tells the kind of a Google credentials JSON blob, so that a Google client built from it gets the matching credentials type: a service account, an authorized user, an external account and the others. |
|
Package httpclient builds the HTTP clients of the adapters that call a remote service, and names the one method of a client that they use, so that a test can replace it.
|
Package httpclient builds the HTTP clients of the adapters that call a remote service, and names the one method of a client that they use, so that a test can replace it. |
|
Package jitter is the default random source of the delays that spread out retries: a fraction in [0, 1) from the random source of the operating system.
|
Package jitter is the default random source of the delays that spread out retries: a fraction in [0, 1) from the random source of the operating system. |
|
Package jsonkit is the JSON house style of the repository: the few named option sets that every call of encoding/json/v2 takes, and the Number type that keeps a number as it was written.
|
Package jsonkit is the JSON house style of the repository: the few named option sets that every call of encoding/json/v2 takes, and the Number type that keeps a number as it was written. |
|
Package nilguard gives a usable value for an argument that a caller may leave nil: a context or a logger.
|
Package nilguard gives a usable value for an argument that a caller may leave nil: a context or a logger. |
|
Package poller is the one loop that the module runs on a schedule: a tick function, a wait between ticks with an optional spread (jitter), a longer wait after a failed tick (a Backoff that grows and resets on success), an optional wake channel that ends the wait at once, and a stop by context.
|
Package poller is the one loop that the module runs on a schedule: a tick function, a wait between ticks with an optional spread (jitter), a longer wait after a failed tick (a Backoff that grows and resets on success), an optional wake channel that ends the wait at once, and a stop by context. |
|
Package protocol holds the protocol and format names shared by the production code and the tests: HTTP header names, media types, the names of the supported configuration formats and network names.
|
Package protocol holds the protocol and format names shared by the production code and the tests: HTTP header names, media types, the names of the supported configuration formats and network names. |
|
Package signer signs webhook payloads with a shared secret.
|
Package signer signs webhook payloads with a shared secret. |
|
Package stringsx provides the string and flagset helpers shared by the packages of this module.
|
Package stringsx provides the string and flagset helpers shared by the packages of this module. |
|
Package tracing is the seam through which every outgoing client of the relay gets its OpenTelemetry providers.
|
Package tracing is the seam through which every outgoing client of the relay gets its OpenTelemetry providers. |
|
Package urlredact keeps a secret that a URL carries (a token in the path, credentials in the user info or the query) out of an error or a log line.
|
Package urlredact keeps a secret that a URL carries (a token in the path, credentials in the user info or the query) out of an error or a log line. |
Click to show internal directories.
Click to hide internal directories.