core

module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: MIT

Directories

Path Synopsis
Package banner prints a service startup banner with local + LAN URLs.
Package banner prints a service startup banner with local + LAN URLs.
Package clientmeta captures HTTP request metadata that's useful for understanding the caller of any endpoint — auth intents today, audit logs / abuse detection / analytics tomorrow.
Package clientmeta captures HTTP request metadata that's useful for understanding the caller of any endpoint — auth intents today, audit logs / abuse detection / analytics tomorrow.
Package constants holds the names shared by more than one kit package or by every app built on the kit: generic environment variable keys (environment.go), HTTP header and cookie names (headers.go) and well-known HTTP paths (paths.go).
Package constants holds the names shared by more than one kit package or by every app built on the kit: generic environment variable keys (environment.go), HTTP header and cookie names (headers.go) and well-known HTTP paths (paths.go).
Package datasources is the umbrella over the persistence backends HB Labs services use.
Package datasources is the umbrella over the persistence backends HB Labs services use.
Package envcfg reads typed values from the process environment.
Package envcfg reads typed values from the process environment.
Package fswatch wraps fsnotify with the boilerplate every dev- reload / config-watch use case needs: recursive directory adds, single-file watches that survive editor save-by-rename, debounce coalescing of bursty editor writes, and a single onChange callback.
Package fswatch wraps fsnotify with the boilerplate every dev- reload / config-watch use case needs: recursive directory adds, single-file watches that survive editor save-by-rename, debounce coalescing of bursty editor writes, and a single onChange callback.
Package httpx is the HTTP middleware bundle shared by every HB Labs service.
Package httpx is the HTTP middleware bundle shared by every HB Labs service.
Package ids generates short, URL-safe identifiers for HB Labs services services.
Package ids generates short, URL-safe identifiers for HB Labs services services.
Package log centralises slog setup for every HB Labs service.
Package log centralises slog setup for every HB Labs service.
Package periodic is a tiny in-process scheduler.
Package periodic is a tiny in-process scheduler.
Package ratelimit is the abuse-protection layer shared by every HB Labs HTTP service.
Package ratelimit is the abuse-protection layer shared by every HB Labs HTTP service.
Package secheaders is the security-headers middleware shared by every HB Labs HTTP service.
Package secheaders is the security-headers middleware shared by every HB Labs HTTP service.
Package system consolidates the boilerplate prelude every service repeats in its main(): .env loading, logger setup, startup banner, build-time log line, and a signal-cancellable context.
Package system consolidates the boilerplate prelude every service repeats in its main(): .env loading, logger setup, startup banner, build-time log line, and a signal-cancellable context.

Jump to

Keyboard shortcuts

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