Directories
¶
Path | Synopsis |
---|---|
Package cache implements a typed cache which can serve stale data while fetching fresh data, and which takes a distributed lock before attempting a refresh in order to greatly reduce possible cache stampede effects.
|
Package cache implements a typed cache which can serve stale data while fetching fresh data, and which takes a distributed lock before attempting a refresh in order to greatly reduce possible cache stampede effects. |
cmd
|
|
package debug provides a collection of tools for debugging Go programs at runtime.
|
package debug provides a collection of tools for debugging Go programs at runtime. |
Package httpclient collects conventions for the configuration of HTTP clients used across our various codebases.
|
Package httpclient collects conventions for the configuration of HTTP clients used across our various codebases. |
Package lock implements a basic distributed lock that is held in N redis instances.
|
Package lock implements a basic distributed lock that is held in N redis instances. |
Package must helps you do things that must not fail.
|
Package must helps you do things that must not fail. |
Package queue provides a queue implementation based on Redis streams which uses [shuffle-sharding] to provide a degree of isolation between queue tenants.
|
Package queue provides a queue implementation based on Redis streams which uses [shuffle-sharding] to provide a degree of isolation between queue tenants. |
Package ratelimit implements a distributed rate limiter backed by a Redis server.
|
Package ratelimit implements a distributed rate limiter backed by a Redis server. |
ptr
Package ptr contains a helper function for creating pointers to values.
|
Package ptr contains a helper function for creating pointers to values. |
Click to show internal directories.
Click to hide internal directories.