Directories
¶
| Path | Synopsis |
|---|---|
|
Package app provides a managed lifecycle for command-line applications, ensuring graceful shutdown on OS signals.
|
Package app provides a managed lifecycle for command-line applications, ensuring graceful shutdown on OS signals. |
|
Package backoff provides customizable strategies for retrying operations with increasing delays.
|
Package backoff provides customizable strategies for retrying operations with increasing delays. |
|
Package cache provides a generic, auto-refreshing in-memory cache for a resource fetched from a URL.
|
Package cache provides a generic, auto-refreshing in-memory cache for a resource fetched from a URL. |
|
Package di provides a type-safe, concurrent dependency injection container for Go applications.
|
Package di provides a type-safe, concurrent dependency injection container for Go applications. |
|
Package env provides functionality for unmarshaling environment variables into Go structs.
|
Package env provides functionality for unmarshaling environment variables into Go structs. |
|
Package header provides a collection of utility functions for parsing, interpreting, and manipulating HTTP headers.
|
Package header provides a collection of utility functions for parsing, interpreting, and manipulating HTTP headers. |
|
internal
|
|
|
buffer
Package buffer provides a sync.Pool-backed implementation of httputil.BufferPool for reusing byte slices, aiming to save memory and reduce GC pressure when dealing with large response bodies.
|
Package buffer provides a sync.Pool-backed implementation of httputil.BufferPool for reusing byte slices, aiming to save memory and reduce GC pressure when dealing with large response bodies. |
|
jitter
Package jitter provides functionality for adding random variation (jitter) to time durations.
|
Package jitter provides functionality for adding random variation (jitter) to time durations. |
|
pointer
Package pointer provides reflection-based helpers for working with pointers.
|
Package pointer provides reflection-based helpers for working with pointers. |
|
quote
Package quote provides utility functions for working with quoted strings.
|
Package quote provides utility functions for working with quoted strings. |
|
rotor
Package rotor provides a thread-safe, generic type for rotating through a slice of items in a round-robin fashion.
|
Package rotor provides a thread-safe, generic type for rotating through a slice of items in a round-robin fashion. |
|
snake
Package snake provides functions for converting strings between camelCase and snake_case formats.
|
Package snake provides functions for converting strings between camelCase and snake_case formats. |
|
tag
Package tag provides utility for parsing Go struct tags that follow a comma-separated key-value option format, similar to the standard `json` tag.
|
Package tag provides utility for parsing Go struct tags that follow a comma-separated key-value option format, similar to the standard `json` tag. |
|
Package jose implements select JavaScript Object Signing and Encryption (JOSE) specifications.
|
Package jose implements select JavaScript Object Signing and Encryption (JOSE) specifications. |
|
jwa
Package jwa provides implementations for asymmetric JSON Web Algorithms (JWA) as defined in RFC 7518.
|
Package jwa provides implementations for asymmetric JSON Web Algorithms (JWA) as defined in RFC 7518. |
|
jwk
Package jwk provides functionality to parse, manage, and marshal JSON Web Keys (JWK) and JSON Web Key Sets (JWKS), as defined in RFC 7517.
|
Package jwk provides functionality to parse, manage, and marshal JSON Web Keys (JWK) and JSON Web Key Sets (JWKS), as defined in RFC 7517. |
|
jwt
Package jwt provides tools for parsing, verifying, and signing JSON Web Tokens (JWTs).
|
Package jwt provides tools for parsing, verifying, and signing JSON Web Tokens (JWTs). |
|
Package log provides a configurable constructor for the standard slog.Logger, allowing for easy setup using the functional options pattern.
|
Package log provides a configurable constructor for the standard slog.Logger, allowing for easy setup using the functional options pattern. |
|
Package middleware provides a standard approach for chaining and composing HTTP middleware.
|
Package middleware provides a standard approach for chaining and composing HTTP middleware. |
|
cors
Package cors provides a configurable CORS (Cross-Origin Resource Sharing) middleware for http.Handlers.
|
Package cors provides a configurable CORS (Cross-Origin Resource Sharing) middleware for http.Handlers. |
|
gzip
Package gzip provides an HTTP middleware for compressing response bodies using the gzip algorithm.
|
Package gzip provides an HTTP middleware for compressing response bodies using the gzip algorithm. |
|
Package proxy provides a configurable reverse proxy handler.
|
Package proxy provides a configurable reverse proxy handler. |
|
Package retry is an http.RoundTripper middleware that provides automatic, policy-driven retries for HTTP requests.
|
Package retry is an http.RoundTripper middleware that provides automatic, policy-driven retries for HTTP requests. |
|
Package router provides a lightweight, JSON-centric wrapper around Go's native http.ServeMux.
|
Package router provides a lightweight, JSON-centric wrapper around Go's native http.ServeMux. |
|
Package scheduler provides a flexible framework for running recurring tasks concurrently.
|
Package scheduler provides a flexible framework for running recurring tasks concurrently. |
|
Package uuid provides an implementation of Version 7 (Time-ordered) Universally Unique Identifiers (UUID) as defined in RFC 4122 and RFC 9562.
|
Package uuid provides an implementation of Version 7 (Time-ordered) Universally Unique Identifiers (UUID) as defined in RFC 4122 and RFC 9562. |
Click to show internal directories.
Click to hide internal directories.