Documentation
¶
There is no documentation for this package.
Directories
¶
Path | Synopsis |
---|---|
apps
|
|
api/openapi
Package openapi provides primitives to interact with the openapi HTTP API.
|
Package openapi provides primitives to interact with the openapi HTTP API. |
cmd
|
|
deploy
|
|
assetmanagerd
Module
|
|
billaged
Module
|
|
builderd
Module
|
|
pkg/spiffe
Module
|
|
pkg/tls
Module
|
|
pkg/tracing
Module
|
|
gen
|
|
internal
|
|
services/auditlogs
Package auditlogs provides audit logging services for tracking user actions and system events across the Unkey platform.
|
Package auditlogs provides audit logging services for tracking user actions and system events across the Unkey platform. |
services/caches
Package caches provides a centralized caching service for commonly accessed database entities.
|
Package caches provides a centralized caching service for commonly accessed database entities. |
services/keys
Package keys implements a comprehensive key management and verification system for API keys with support for rate limiting, usage tracking, permissions, and workspace isolation.
|
Package keys implements a comprehensive key management and verification system for API keys with support for rate limiting, usage tracking, permissions, and workspace isolation. |
services/ratelimit
Package ratelimit implements a distributed rate limiting system using a sliding window algorithm with cluster-wide state synchronization.
|
Package ratelimit implements a distributed rate limiting system using a sliding window algorithm with cluster-wide state synchronization. |
pkg
|
|
assert
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. |
auditlog
Package auditlog defines types and constants for the audit logging system.
|
Package auditlog defines types and constants for the audit logging system. |
batch
Package batch provides utilities for efficiently processing items in batches.
|
Package batch provides utilities for efficiently processing items in batches. |
buffer
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. |
cache
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. |
circuitbreaker
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. |
cli
Package cli provides a command-line interface framework for building CLI applications.
|
Package cli provides a command-line interface framework for building CLI applications. |
clickhouse
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. |
clock
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. |
codes
Code generated by generate.go; DO NOT EDIT.
|
Code generated by generate.go; DO NOT EDIT. |
counter
Package counter provides abstractions and implementations for distributed counters.
|
Package counter provides abstractions and implementations for distributed counters. |
ctxutil
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. |
db/plugins/bulk-insert
Package main provides a sqlc plugin that generates bulk insert functions.
|
Package main provides a sqlc plugin that generates bulk insert functions. |
fault
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. |
hash
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. |
hydra
Package hydra provides a distributed workflow orchestration engine designed for reliable execution of multi-step business processes at scale.
|
Package hydra provides a distributed workflow orchestration engine designed for reliable execution of multi-step business processes at scale. |
match
Package match provides pattern matching utilities.
|
Package match provides pattern matching utilities. |
otel/logging
Package logging provides a flexible structured logging interface that follows the patterns of Go's standard slog package while abstracting over concrete logging implementations.
|
Package logging provides a flexible structured logging interface that follows the patterns of Go's standard slog package while abstracting over concrete logging implementations. |
prometheus
Package prometheus provides utilities for exposing Prometheus metrics over HTTP.
|
Package prometheus provides utilities for exposing Prometheus metrics over HTTP. |
prometheus/metrics
Package metrics provides Prometheus metric collectors for monitoring application performance.
|
Package metrics provides Prometheus metric collectors for monitoring application performance. |
rbac
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. |
retry
Package retry provides functionality to retry operations with configurable attempts and backoff.
|
Package retry provides functionality to retry operations with configurable attempts and backoff. |
shutdown
Package shutdown provides a way to manage graceful shutdown of resources.
|
Package shutdown provides a way to manage graceful shutdown of resources. |
testutil/containers
Package containers provides testing utilities for integration tests with docker-compose services.
|
Package containers provides testing utilities for integration tests with docker-compose services. |
tls
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. |
uid
Package uid provides functionality for generating unique identifiers throughout the Unkey system.
|
Package uid provides functionality for generating unique identifiers throughout the Unkey system. |
urn
pkg/urn/urn.go
|
pkg/urn/urn.go |
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. |
scripts
|
|
shard-test
The shard-test utility deterministically distributes Go test packages across multiple shards, allowing for parallel test execution in CI environments.
|
The shard-test utility deterministically distributes Go test packages across multiple shards, allowing for parallel test execution in CI environments. |
Click to show internal directories.
Click to hide internal directories.