pkg/

directory
v0.12.14-0...-bb29917 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package array provides generic utility functions for slice generation and manipulation.
Package array provides generic utility functions for slice generation and manipulation.
Package assert provides simple assertion utilities for validating conditions and inputs throughout the application.
Package assert provides simple assertion utilities for validating conditions and inputs throughout the application.
Package auditlog defines types and constants for the audit logging system.
Package auditlog defines types and constants for the audit logging system.
Package base58 implements Base58 encoding for binary data.
Package base58 implements Base58 encoding for binary data.
Package batch provides utilities for efficiently processing items in batches.
Package batch provides utilities for efficiently processing items in batches.
metrics
Package metrics provides Prometheus metric collectors for monitoring application performance.
Package metrics provides Prometheus metric collectors for monitoring application performance.
Package buffer provides a generic buffered channel implementation with configurable capacity and drop behavior.
Package buffer provides a generic buffered channel implementation with configurable capacity and drop behavior.
metrics
Package metrics provides Prometheus metric collectors for monitoring application performance.
Package metrics provides Prometheus metric collectors for monitoring application performance.
Package buildinfo exposes build metadata that is injected at link time via -ldflags -X. Values are populated by the release pipeline (goreleaser).
Package buildinfo exposes build metadata that is injected at link time via -ldflags -X. Values are populated by the release pipeline (goreleaser).
Package cache provides a generic, thread-safe caching system with support for time-based expiration, custom eviction policies, and observability.
Package cache provides a generic, thread-safe caching system with support for time-based expiration, custom eviction policies, and observability.
clustering
nolint: all
nolint: all
Package circuitbreaker implements the Circuit Breaker pattern to prevent cascading failures when dependent services are unavailable or experiencing high latency.
Package circuitbreaker implements the Circuit Breaker pattern to prevent cascading failures when dependent services are unavailable or experiencing high latency.
Package cli provides a command-line interface framework for building CLI applications.
Package cli provides a command-line interface framework for building CLI applications.
Package clickhouse provides a client for interacting with ClickHouse databases, optimized for high-volume event data storage and analytics.
Package clickhouse provides a client for interacting with ClickHouse databases, optimized for high-volume event data storage and analytics.
Package clock provides a flexible interface for time-related operations, allowing for consistent time handling in both production and test environments.
Package clock provides a flexible interface for time-related operations, allowing for consistent time handling in both production and test environments.
Package cluster provides a two-tier gossip-based cluster membership using hashicorp/memberlist (SWIM protocol).
Package cluster provides a two-tier gossip-based cluster membership using hashicorp/memberlist (SWIM protocol).
Code generated by generate.go; DO NOT EDIT.
Code generated by generate.go; DO NOT EDIT.
Package conc provides bounded-concurrency helpers.
Package conc provides bounded-concurrency helpers.
Package config loads and validates TOML configuration into Go structs using struct tags for defaults and constraints.
Package config loads and validates TOML configuration into Go structs using struct tags for defaults and constraints.
Package counter provides abstractions and implementations for distributed counters.
Package counter provides abstractions and implementations for distributed counters.
Package ctxutil provides utilities for working with context.Context, specifically focused on storing and retrieving request-scoped values.
Package ctxutil provides utilities for working with context.Context, specifically focused on storing and retrieving request-scoped values.
db
Package db provides a database access layer for MySQL with support for read/write splitting, connection management, and type-safe SQL operations.
Package db provides a database access layer for MySQL with support for read/write splitting, connection management, and type-safe SQL operations.
plugins/bulk-insert command
Package main provides a sqlc plugin that generates bulk insert functions.
Package main provides a sqlc plugin that generates bulk insert functions.
dns
Package dns provides DNS lookup utilities using Cloudflare's 1.1.1.1 resolver.
Package dns provides DNS lookup utilities using Cloudflare's 1.1.1.1 resolver.
domainconnect
Package domainconnect implements the Domain Connect protocol (v2) for one-click DNS configuration of custom domains.
Package domainconnect implements the Domain Connect protocol (v2) for one-click DNS configuration of custom domains.
Package fault provides a clean, concise error handling system designed for building robust applications with rich error context and secure user messaging.
Package fault provides a clean, concise error handling system designed for building robust applications with rich error context and secure user messaging.
Package fuzz provides utilities for consuming fuzzer-generated byte slices and converting them into typed Go values.
Package fuzz provides utilities for consuming fuzzer-generated byte slices and converting them into typed Go values.
Package hash provides cryptographic hashing utilities for various security-related operations such as API key validation, data integrity checks, and signatures.
Package hash provides cryptographic hashing utilities for various security-related operations such as API key validation, data integrity checks, and signatures.
Package healthcheck provides push-based health monitoring for scheduled tasks.
Package healthcheck provides push-based health monitoring for scheduled tasks.
Package jwt provides JSON Web Token signing and verification with algorithm-pinned security to prevent algorithm confusion attacks.
Package jwt provides JSON Web Token signing and verification with algorithm-pinned security to prevent algorithm confusion attacks.
Package logger provides wide-event logging with tail sampling support.
Package logger provides wide-event logging with tail sampling support.
Package match provides pattern matching utilities.
Package match provides pattern matching utilities.
Package mysql provides a minimal shared MySQL abstraction for backend services.
Package mysql provides a minimal shared MySQL abstraction for backend services.
metrics
Package metrics defines Prometheus metrics used by pkg/mysql wrappers.
Package metrics defines Prometheus metrics used by pkg/mysql wrappers.
openapi
cmd command
Package prometheus provides HTTP server infrastructure for exposing Prometheus metrics.
Package prometheus provides HTTP server infrastructure for exposing Prometheus metrics.
lazy
Package lazy provides lazy-registering Prometheus metric wrappers.
Package lazy provides lazy-registering Prometheus metric wrappers.
metrics
Package metrics provides Prometheus metric collectors for monitoring Unkey services.
Package metrics provides Prometheus metric collectors for monitoring Unkey services.
Package prompt provides interactive terminal prompts for CLI applications.
Package prompt provides interactive terminal prompts for CLI applications.
example command
example/date command
example/select command
example/time command
example/wizard command
Package rbac implements a flexible Role-Based Access Control system for managing permissions and authorization checks.
Package rbac implements a flexible Role-Based Access Control system for managing permissions and authorization checks.
restate
admin
Package admin provides a client for the Restate admin API.
Package admin provides a client for the Restate admin API.
compensation
Package compensation provides a rollback mechanism for multi-step Restate workflows.
Package compensation provides a rollback mechanism for multi-step Restate workflows.
Package retry provides functionality to retry operations with configurable attempts and backoff.
Package retry provides functionality to retry operations with configurable attempts and backoff.
rpc
testutil
containers
Package containers provides lightweight Docker container management for integration tests.
Package containers provides lightweight Docker container management for integration tests.
Package timing defines a small, strict header format for server-side timing data and provides helpers to record it through zen sessions.
Package timing defines a small, strict header format for server-side timing data and provides helpers to record it through zen sessions.
Package tls provides utilities for configuring TLS (Transport Layer Security) in HTTP servers.
Package tls provides utilities for configuring TLS (Transport Layer Security) in HTTP servers.
Package uid generates prefixed random identifiers for Unkey resources.
Package uid generates prefixed random identifiers for Unkey resources.
Package validation provides reusable input validation functions for the Unkey platform.
Package validation provides reusable input validation functions for the Unkey platform.
zen
Package zen provides a lightweight HTTP framework built on top of the standard library.
Package zen provides a lightweight HTTP framework built on top of the standard library.
metrics
Package metrics provides Prometheus metric collectors for monitoring application performance.
Package metrics provides Prometheus metric collectors for monitoring application performance.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL