vouch

module
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: Apache-2.0

README

Vouch (WIP)

Coverage Test License Release

Directories

Path Synopsis
cmd
vouch command
Command vouch starts the authentication sidecar and reverse proxy for CouchDB.
Command vouch starts the authentication sidecar and reverse proxy for CouchDB.
internal
auth
Package auth provides request authentication primitives.
Package auth provides request authentication primitives.
config
Package config defines the sidecar configuration schema and helpers to load and validate it (typically from a YAML file on disk).
Package config defines the sidecar configuration schema and helpers to load and validate it (typically from a YAML file on disk).
key
Package key provides access to cryptographic keys (e.g.
Package key provides access to cryptographic keys (e.g.
logger
Package logger provides factory functions for *slog.Logger instances.
Package logger provides factory functions for *slog.Logger instances.
middleware
Package middleware contains HTTP middlewares used by the sidecar, including panic recovery and request forwarding/authentication helpers.
Package middleware contains HTTP middlewares used by the sidecar, including panic recovery and request forwarding/authentication helpers.
proxy
Package proxy wraps and configures an HTTP reverse proxy to forward requests to the configured upstream target.
Package proxy wraps and configures an HTTP reverse proxy to forward requests to the configured upstream target.
rules
Package rules defines an expression-based authorization model.
Package rules defines an expression-based authorization model.
server
Package server exposes a small HTTP server that wires middleware and proxy, and provides lifecycle control for starting and graceful shutdown.
Package server exposes a small HTTP server that wires middleware and proxy, and provides lifecycle control for starting and graceful shutdown.
signer
Package signer contains signing helpers used to compute the CouchDB proxy authentication token.
Package signer contains signing helpers used to compute the CouchDB proxy authentication token.
token
Package token provides parsing and validation utilities for bearer tokens used by the sidecar during authentication.
Package token provides parsing and validation utilities for bearer tokens used by the sidecar during authentication.

Jump to

Keyboard shortcuts

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