service

module
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2026 License: MIT

Directories

Path Synopsis
Package authz — hosts the attribute-based evaluator.
Package authz — hosts the attribute-based evaluator.
Package cache — hosts the compile-time interface assertions, keeping them out of the production source so the runtime binary carries no diagnostic-only declarations.
Package cache — hosts the compile-time interface assertions, keeping them out of the production source so the runtime binary carries no diagnostic-only declarations.
Package cli is the command-line engine: it validates a whole command tree once, resolves an argument vector against it, renders the help the tree implies, and returns a typed error carrying an exit status.
Package cli is the command-line engine: it validates a whole command tree once, resolves an argument vector against it, renders the help the tree implies, and returns a typed error carrying an exit status.
codec
asn1
Package asn1 wraps encoding/asn1 as a codec.Codec implementation.
Package asn1 wraps encoding/asn1 as a codec.Codec implementation.
baseenc
Package baseenc — Base45 (RFC 9285) alphabet codec.
Package baseenc — Base45 (RFC 9285) alphabet codec.
bson
Package bson wraps go.mongodb.org/mongo-driver/bson as a codec.Codec implementation.
Package bson wraps go.mongodb.org/mongo-driver/bson as a codec.Codec implementation.
cbor
Package cbor wraps github.com/fxamacker/cbor/v2 as a codec.Codec implementation.
Package cbor wraps github.com/fxamacker/cbor/v2 as a codec.Codec implementation.
csv
Package csv wraps encoding/csv as a codec.Codec implementation.
Package csv wraps encoding/csv as a codec.Codec implementation.
flatbuffers
Package flatbuffers implements a thin passthrough codec for already-encoded FlatBuffer payloads.
Package flatbuffers implements a thin passthrough codec for already-encoded FlatBuffer payloads.
form
Package form implements application/x-www-form-urlencoded as a codec.Codec — the encoding every HTML form POSTs and every query string carries.
Package form implements application/x-www-form-urlencoded as a codec.Codec — the encoding every HTML form POSTs and every query string carries.
json
Package json wraps encoding/json as a codec.Codec implementation registered under Format("json").
Package json wraps encoding/json as a codec.Codec implementation registered under Format("json").
msgpack
Package msgpack wraps github.com/vmihailenco/msgpack/v5 as a codec.Codec implementation.
Package msgpack wraps github.com/vmihailenco/msgpack/v5 as a codec.Codec implementation.
multipart
Package multipart — boundary recovery and validation.
Package multipart — boundary recovery and validation.
ndjson
Package ndjson implements newline-delimited JSON as a codec.Codec.
Package ndjson implements newline-delimited JSON as a codec.Codec.
pem
Package pem wraps encoding/pem as a codec.Codec implementation.
Package pem wraps encoding/pem as a codec.Codec implementation.
tlv
Package tlv implements a self-describing Type-Length-Value codec.
Package tlv implements a self-describing Type-Length-Value codec.
toml
Package toml wraps github.com/pelletier/go-toml/v2 as a codec.Codec implementation.
Package toml wraps github.com/pelletier/go-toml/v2 as a codec.Codec implementation.
xml
Package xml wraps encoding/xml as a codec.Codec implementation registered under Format("xml").
Package xml wraps encoding/xml as a codec.Codec implementation registered under Format("xml").
yaml
Package yaml wraps gopkg.in/yaml.v3 as a codec.Codec implementation.
Package yaml wraps gopkg.in/yaml.v3 as a codec.Codec implementation.
Package config — environment-variable Source.
Package config — environment-variable Source.
crypto
aesgcm
Package aesgcm registers the "aes-256-gcm" AEAD scheme (ADR 0013).
Package aesgcm registers the "aes-256-gcm" AEAD scheme (ADR 0013).
ecdsasig
Package ecdsasig registers the "ecdsa-p256" signature scheme (ADR 0013).
Package ecdsasig registers the "ecdsa-p256" signature scheme (ADR 0013).
ed25519sig
Package ed25519sig registers the "ed25519" signature scheme (ADR 0013).
Package ed25519sig registers the "ed25519" signature scheme (ADR 0013).
hkdfsha256
Package hkdfsha256 registers the "hkdf-sha256" key-derivation scheme (ADR 0013).
Package hkdfsha256 registers the "hkdf-sha256" key-derivation scheme (ADR 0013).
hmacsha2
Package hmacsha2 registers the "hmac-sha256" MAC scheme (ADR 0014).
Package hmacsha2 registers the "hmac-sha256" MAC scheme (ADR 0014).
jwk
Package jwk — the bridge between a JWK and the key encodings the SDK's own schemes already speak, so adopting the format costs no re-encoding by hand:
Package jwk — the bridge between a JWK and the key encodings the SDK's own schemes already speak, so adopting the format costs no re-encoding by hand:
keyenvelope
Package keyenvelope wraps a symmetric DEK at rest under a passphrase.
Package keyenvelope wraps a symmetric DEK at rest under a passphrase.
keytree
Package keytree implements path-addressed hierarchical key derivation.
Package keytree implements path-addressed hierarchical key derivation.
pbkdf2pw
Package pbkdf2pw registers the "pbkdf2-sha256" password-hashing scheme (ADR 0013).
Package pbkdf2pw registers the "pbkdf2-sha256" password-hashing scheme (ADR 0013).
stdhash
Package stdhash — CRC-32C (Castagnoli) scheme registration (see stdhash.go).
Package stdhash — CRC-32C (Castagnoli) scheme registration (see stdhash.go).
streamaead
Package streamaead (reader.go) — the streaming-AEAD read path: header verify, chunk-by-chunk decrypt with hold-back, and one-byte EOF look-ahead.
Package streamaead (reader.go) — the streaming-AEAD read path: header verify, chunk-by-chunk decrypt with hold-back, and one-byte EOF look-ahead.
x25519
Package x25519 registers the "x25519" key-agreement scheme (ADR 0014).
Package x25519 registers the "x25519" key-agreement scheme (ADR 0014).
Package entitlement - the published bundle: roster and signature in ONE document, because two documents cannot be fetched atomically.
Package entitlement - the published bundle: roster and signature in ONE document, because two documents cannot be fetched atomically.
Package events — range 0.3.52.* (ADR 0053 service/events block).
Package events — range 0.3.52.* (ADR 0053 service/events block).
Package gate — the classifier behind pkg/v1/gate.
Package gate — the classifier behind pkg/v1/gate.
Package health — hosts the wire shape of a probe response: the body, and the one check inside it.
Package health — hosts the wire shape of a probe response: the body, and the one check inside it.
Package i18n — the RFC 9110 Accept-Language header parser.
Package i18n — the RFC 9110 Accept-Language header parser.
Package id — range 0.3.39.* (ADR 0024 service/id block).
Package id — range 0.3.39.* (ADR 0024 service/id block).
Package lifecycle — range 0.3.49.* (ADR 0050 service/lifecycle block).
Package lifecycle — range 0.3.49.* (ADR 0050 service/lifecycle block).
Package lock — the other half of "the lock path is a file, never a link to one": the components ABOVE the lock file.
Package lock — the other half of "the lock path is a file, never a link to one": the components ABOVE the lock file.
Package logger — declares the chainable Builder API — the low-allocation hot path for callers that care about per-call cost.
Package logger — declares the chainable Builder API — the low-allocation hot path for callers that care about per-call cost.
encoder
Package encoder provides concrete Encoder implementations (Text today; NDJSON and JSON to land in follow-up commits).
Package encoder provides concrete Encoder implementations (Text today; NDJSON and JSON to land in follow-up commits).
middleware/async
Package async wraps any corelogger.Sink with a non-blocking ring buffer and a single drainer goroutine, decoupling the producer hot path from the (potentially slow) downstream sink.
Package async wraps any corelogger.Sink with a non-blocking ring buffer and a single drainer goroutine, decoupling the producer hot path from the (potentially slow) downstream sink.
middleware/encwrite
Package encwrite — range 0.3.28.* (ADR 0014 service slot 0x1c).
Package encwrite — range 0.3.28.* (ADR 0014 service slot 0x1c).
middleware/failover
Package failover — range 0.3.19.* (ADR 0005 service/logger/middleware/failover block).
Package failover — range 0.3.19.* (ADR 0005 service/logger/middleware/failover block).
middleware/multi
Package multi — range 0.3.16.* (ADR 0005 service/logger/middleware/multi block).
Package multi — range 0.3.16.* (ADR 0005 service/logger/middleware/multi block).
middleware/recover
Package recover — range 0.3.21.* (ADR 0005 service/logger/middleware/recover block).
Package recover — range 0.3.21.* (ADR 0005 service/logger/middleware/recover block).
middleware/route
Package route — range 0.3.18.* (ADR 0005 service/logger/middleware/route block).
Package route — range 0.3.18.* (ADR 0005 service/logger/middleware/route block).
middleware/sample
Package sample — range 0.3.20.* (ADR 0005 service/logger/middleware/sample block).
Package sample — range 0.3.20.* (ADR 0005 service/logger/middleware/sample block).
middleware/tee
Package tee — range 0.3.29.* (ADR 0014 service slot 0x1d).
Package tee — range 0.3.29.* (ADR 0014 service slot 0x1d).
sink/console
Package console — range 0.3.13.* (ADR 0005 service/logger/sink/console block).
Package console — range 0.3.13.* (ADR 0005 service/logger/sink/console block).
sink/file
Package file — range 0.3.14.* (ADR 0005 service/logger/sink/file block).
Package file — range 0.3.14.* (ADR 0005 service/logger/sink/file block).
sink/memory
Package memory implements a Sink that retains a defensive snapshot of every RecordEvent it receives in a mutex-guarded slice.
Package memory implements a Sink that retains a defensive snapshot of every RecordEvent it receives in a mutex-guarded slice.
sink/syslog
Package syslog — range 0.3.15.* (ADR 0005 service/logger/sink/syslog block).
Package syslog — range 0.3.15.* (ADR 0005 service/logger/sink/syslog block).
Package mail — range 0.3.61.* (ADR 0064 service/mail block).
Package mail — range 0.3.61.* (ADR 0064 service/mail block).
Package metrics — one instrument name's slot in a collection arena.
Package metrics — one instrument name's slot in a collection arena.
net
client
Package client — the response body size ceiling.
Package client — the response body size ceiling.
server
Package server — adoption of listeners inherited from a supervisor.
Package server — adoption of listeners inherited from a supervisor.
sse
Package sse — the stream's functional options and their defaults.
Package sse — the stream's functional options and their defaults.
tlsid
Package tlsid loads TLS and mutual-TLS material into the opaque, redacting identity declared by internal/core/net (ADR 0029).
Package tlsid loads TLS and mutual-TLS material into the opaque, redacting identity declared by internal/core/net (ADR 0029).
websocket
Package websocket — the RFC 6455 §4.2 opening handshake.
Package websocket — the RFC 6455 §4.2 opening handshake.
proc
cgroup
Package cgroup — creates and manages cgroup v2 control groups.
Package cgroup — creates and manages cgroup v2 control groups.
exec
Package exec — Unix best-effort post-start attributes: scheduling priority (Nice), OOM-killer bias (OOMScoreAdj).
Package exec — Unix best-effort post-start attributes: scheduling priority (Nice), OOM-killer bias (OOMScoreAdj).
memlimit
Package memlimit — resolving WHICH cgroup limit files govern this process: where each hierarchy is mounted, which part of the filesystem that mount exposes, which cgroup the process belongs to, and the ancestors whose caps bound it just as effectively.
Package memlimit — resolving WHICH cgroup limit files govern this process: where each hierarchy is mounted, which part of the filesystem that mount exposes, which cgroup the process belongs to, and the ancestors whose caps bound it just as effectively.
reaper
Package reaper — the PID1 / subreaper zombie collector backing pkg/v1/reaper.
Package reaper — the PID1 / subreaper zombie collector backing pkg/v1/reaper.
rlimit
Package rlimit — applies per-process setrlimit(2) resource ceilings.
Package rlimit — applies per-process setrlimit(2) resource ceilings.
sdlisten
Package sdlisten — Unix socket activation (sd_listen_fds(3) family).
Package sdlisten — Unix socket activation (sd_listen_fds(3) family).
sdnotify
Package sdnotify — the supervisor (listener) side on Linux: SO_PASSCRED.
Package sdnotify — the supervisor (listener) side on Linux: SO_PASSCRED.
signal
Package signal — Unix Relay: forwards each received signal to a pid or process group via kill(2), where a negative Target addresses the group whose id is its absolute value.
Package signal — Unix Relay: forwards each received signal to a pid or process group via kill(2), where a negative Target addresses the group whose id is its absolute value.
Package queue — range 0.3.53.* (ADR 0054 service/queue block).
Package queue — range 0.3.53.* (ADR 0054 service/queue block).
Package resilience — circuit-breaker policy.
Package resilience — circuit-breaker policy.
Package scheduler — range 0.3.43.* (ADR 0041 service/scheduler block).
Package scheduler — range 0.3.43.* (ADR 0041 service/scheduler block).
Package selfupdate replaces the running binary with a newer signed release.
Package selfupdate replaces the running binary with a newer signed release.
Package session — range 0.3.46.* (ADR 0045 service/session block).
Package session — range 0.3.46.* (ADR 0045 service/session block).
Package sql — range 0.3.54.* (ADR 0055 service/sql block).
Package sql — range 0.3.54.* (ADR 0055 service/sql block).
Package token — one JWK Set member, with its binding already derived.
Package token — one JWK Set member, with its binding already derived.
Package trace — range 0.3.50.* (ADR 0051 service/trace block).
Package trace — range 0.3.50.* (ADR 0051 service/trace block).
Package transform — shared decompression bound for the stdlib gzip, flate and zlib schemes.
Package transform — shared decompression bound for the stdlib gzip, flate and zlib schemes.
Package validation — the ordered-value bounds constraints.
Package validation — the ordered-value bounds constraints.
vcs
git
Package git — the changed set: which files, line ranges and directories a branch touched.
Package git — the changed set: which files, line ranges and directories a branch touched.
Package vfs — range 0.3.55.* (ADR 0056 service/vfs block).
Package vfs — range 0.3.55.* (ADR 0056 service/vfs block).
Package view — range 0.3.57.* (ADR 0058 service/view block).
Package view — range 0.3.57.* (ADR 0058 service/view block).
writer
console
Package console registers the "console" writer factory.
Package console registers the "console" writer factory.
dbsink
Package dbsink is the driver-AGNOSTIC database sink shell (ADR 0015, gated).
Package dbsink is the driver-AGNOSTIC database sink shell (ADR 0015, gated).
file
Package file registers the "file" writer factory.
Package file registers the "file" writer factory.
journald
Package journald — range 0.3.31.* (ADR 0015 service slot 0x1f).
Package journald — range 0.3.31.* (ADR 0015 service slot 0x1f).
levelgate
Package levelgate provides a Sink decorator that forwards records at or above a minimum severity and silently drops the rest.
Package levelgate provides a Sink decorator that forwards records at or above a minimum severity and silently drops the rest.
nettransport
Package nettransport — the transport seams: the ONLY file that touches net / net/http.
Package nettransport — the transport seams: the ONLY file that touches net / net/http.
rotfile
Package rotfile — backup-name arithmetic and the per-slot move/gzip helpers split out of rotate.go so each function stays under KTN-FUNC-MAXLOC.
Package rotfile — backup-name arithmetic and the per-slot move/gzip helpers split out of rotate.go so each function stays under KTN-FUNC-MAXLOC.

Jump to

Keyboard shortcuts

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