service/

directory
v0.30.2 Latest Latest
Warning

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

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

Directories

Path Synopsis
app
cli
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.
config
Package config — environment-variable Source.
Package config — environment-variable Source.
consensus
Package consensus is the Raft engine of ADR 0152 and everything it ships around the step function of package raft: the event loop that drives it, the storage actor that makes a write durable before any reply that depends on it leaves, the apply goroutine, and snapshots cut, sent and installed in checksummed chunks.
Package consensus is the Raft engine of ADR 0152 and everything it ships around the step function of package raft: the event loop that drives it, the storage actor that makes a write durable before any reply that depends on it leaves, the apply goroutine, and snapshots cut, sent and installed in checksummed chunks.
consensus/machine
Package machine holds state machines for the consensus engine (ADR 0152 D3): the glue every product wrote by hand around a database, and the reference key-value machine the linearizability checker models.
Package machine holds state machines for the consensus engine (ADR 0152 D3): the glue every product wrote by hand around a database, and the reference key-value machine the linearizability checker models.
consensus/multi
Package multi packs many small commands into one consensus entry and splits their results, on top of the Replicated port and with no change to the engine (ADR 0152 D6, D19, #926).
Package multi packs many small commands into one consensus entry and splits their results, on top of the Replicated port and with no change to the engine (ADR 0152 D6, D19, #926).
consensus/raft
Package raft is the consensus engine's step function (ADR 0152 D15): a value with no goroutine, no I/O and no clock.
Package raft is the consensus engine's step function (ADR 0152 D15): a value with no goroutine, no I/O and no clock.
consensus/wire
Package wire holds the consensus domain's hand-written fixed layouts: the frame of a Message, the 41-byte Token, SnapshotMeta, Membership and the timing contract, and the CRC-32C checksums of an entry's body and chain (ADR 0152 D4, D18).
Package wire holds the consensus domain's hand-written fixed layouts: the frame of a Message, the 41-byte Token, SnapshotMeta, Membership and the timing contract, and the CRC-32C checksums of an entry's body and chain (ADR 0152 D4, D18).
events
Package events — hosts the engine: registration, removal, and the copy-on-write membership the dispatch reads.
Package events — hosts the engine: registration, removal, and the copy-on-write membership the dispatch reads.
forward
Package forward is the store-and-forward engine (ADR 0185): a batch kept in a durable queue by Enqueue, sent later by Run through the caller's Sender, retried by resilience's retry on the injected clock — the delay a collector imposes honoured in full, the backoff otherwise, the batch's age as the budget —, dead-lettered when the sender refuses it for good, and counted at every step.
Package forward is the store-and-forward engine (ADR 0185): a batch kept in a durable queue by Enqueue, sent later by Run through the caller's Sender, retried by resilience's retry on the injected clock — the delay a collector imposes honoured in full, the backoff otherwise, the batch's age as the budget —, dead-lettered when the sender refuses it for good, and counted at every step.
health
Package health — hosts Ask, the client half of a readiness probe: the question a container's HEALTHCHECK asks a running process, from an image that has no shell and no curl to ask it with (ADR 0131).
Package health — hosts Ask, the client half of a readiness probe: the question a container's HEALTHCHECK asks a running process, from an image that has no shell and no curl to ask it with (ADR 0131).
i18n
Package i18n — the RFC 9110 Accept-Language header parser.
Package i18n — the RFC 9110 Accept-Language header parser.
id
Package id wraps stdlib crypto/rand + the kernel clock as core/app/id.Generator implementations (UUIDv4, UUIDv7, ULID, snowflake, NanoID, KSUID, TypeID).
Package id wraps stdlib crypto/rand + the kernel clock as core/app/id.Generator implementations (UUIDv4, UUIDv7, ULID, snowflake, NanoID, KSUID, TypeID).
lifecycle
Package lifecycle — hosts Config, the engine's construction parameters.
Package lifecycle — hosts Config, the engine's construction parameters.
lock
Package lock — the kernel lock the file locker stands on, and what each kernel's version of it means for THIS domain.
Package lock — the kernel lock the file locker stands on, and what each kernel's version of it means for THIS domain.
mail
Package mail — the addr-spec subset this domain accepts, and the display-name rule the composer depends on.
Package mail — the addr-spec subset this domain accepts, and the display-name rule the composer depends on.
mail/spool
Package spool — the spool's construction parameters, the defaults their zero values clamp to, and the refusals.
Package spool — the spool's construction parameters, the defaults their zero values clamp to, and the refusals.
resilience
Package resilience — the exponential backoff every waiting policy computes, re-exported from the kernel package that owns it.
Package resilience — the exponential backoff every waiting policy computes, re-exported from the kernel package that owns it.
scheduler
Package scheduler — hosts Config, the engine's construction parameters.
Package scheduler — hosts Config, the engine's construction parameters.
statemachine
Package statemachine — hosts the agenda: when each entity's next automatic transition falls due, the entities written since the loop last looked, and the backoff of those whose transition failed.
Package statemachine — hosts the agenda: when each entity's next automatic transition falls due, the entities written since the loop last looked, and the backoff of those whose transition failed.
validation
Package validation — the ordered-value bounds constraints.
Package validation — the ordered-value bounds constraints.
view
Package view — the cycle detection the trust-type scan needs, kept in its own file so scan.go holds the walk and nothing else.
Package view — the cycle detection the trust-type scan needs, kept in its own file so scan.go holds the walk and nothing else.
crypto
aead/aesgcm
Package aesgcm registers the "aes-256-gcm" AEAD scheme (ADR 0013).
Package aesgcm registers the "aes-256-gcm" AEAD scheme (ADR 0013).
aead/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.
agree/x25519
Package x25519 registers the "x25519" key-agreement scheme (ADR 0014).
Package x25519 registers the "x25519" key-agreement scheme (ADR 0014).
hash/stdhash
Package stdhash — CRC-32C (Castagnoli) scheme registration (see stdhash.go).
Package stdhash — CRC-32C (Castagnoli) scheme registration (see stdhash.go).
kdf/hkdfsha256
Package hkdfsha256 registers the "hkdf-sha256" key-derivation scheme (ADR 0013).
Package hkdfsha256 registers the "hkdf-sha256" key-derivation scheme (ADR 0013).
kdf/keytree
Package keytree implements path-addressed hierarchical key derivation.
Package keytree implements path-addressed hierarchical key derivation.
key/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:
key/keyenvelope
Package keyenvelope wraps a symmetric DEK at rest under a passphrase.
Package keyenvelope wraps a symmetric DEK at rest under a passphrase.
mac/hmacsha2
Package hmacsha2 registers the "hmac-sha256" MAC scheme (ADR 0014).
Package hmacsha2 registers the "hmac-sha256" MAC scheme (ADR 0014).
password/commonpw
Package commonpw holds the ten thousand most common passwords, and says whether a password is one of them (ADR 0143 §D10).
Package commonpw holds the ten thousand most common passwords, and says whether a password is one of them (ADR 0143 §D10).
password/pbkdf2pw
Package pbkdf2pw registers the "pbkdf2-sha256" password-hashing scheme (ADR 0013).
Package pbkdf2pw registers the "pbkdf2-sha256" password-hashing scheme (ADR 0013).
sign/ecdsasig
Package ecdsasig registers the "ecdsa-p256" signature scheme (ADR 0013).
Package ecdsasig registers the "ecdsa-p256" signature scheme (ADR 0013).
sign/ed25519sig
Package ed25519sig registers the "ed25519" signature scheme (ADR 0013).
Package ed25519sig registers the "ed25519" signature scheme (ADR 0013).
data
cache
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.
codec/asn1
Package asn1 wraps encoding/asn1 as a codec.Codec implementation.
Package asn1 wraps encoding/asn1 as a codec.Codec implementation.
codec/baseenc
Package baseenc — Base45 (RFC 9285) alphabet codec.
Package baseenc — Base45 (RFC 9285) alphabet codec.
codec/bson
Package bson is the BSON codec: a native implementation of the BSON 1.1 specification (bsonspec.org) behind the universal core/data/codec.Codec dispatch, written with the standard library alone.
Package bson is the BSON codec: a native implementation of the BSON 1.1 specification (bsonspec.org) behind the universal core/data/codec.Codec dispatch, written with the standard library alone.
codec/cbor
Package cbor is the SDK's CBOR codec (RFC 8949), written on the standard library alone.
Package cbor is the SDK's CBOR codec (RFC 8949), written on the standard library alone.
codec/csv
Package csv wraps encoding/csv as a codec.Codec implementation.
Package csv wraps encoding/csv as a codec.Codec implementation.
codec/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.
codec/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.
codec/jcs
Package jcs writes the JSON Canonicalization Scheme of RFC 8785: one byte form for a JSON document, whatever the order of its members or the spelling of its numbers and strings, so it can be signed or hashed and checked by anyone who canonicalizes the same document.
Package jcs writes the JSON Canonicalization Scheme of RFC 8785: one byte form for a JSON document, whatever the order of its members or the spelling of its numbers and strings, so it can be signed or hashed and checked by anyone who canonicalizes the same document.
codec/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").
codec/jsonpatch
Package jsonpatch computes the structural difference between two JSON documents as RFC 6902 operations — add, remove and replace, each at an RFC 6901 JSON Pointer — with the value each operation writes AND the value it replaces or removes (ADR 0143).
Package jsonpatch computes the structural difference between two JSON documents as RFC 6902 operations — add, remove and replace, each at an RFC 6901 JSON Pointer — with the value each operation writes AND the value it replaces or removes (ADR 0143).
codec/jsonschema
Package jsonschema validates JSON documents somebody else wrote against a JSON Schema 2020-12 they publish — a webhook's payload, an OpenAPI request body, another program's configuration (#882, ADR 0210) — with the standard library alone.
Package jsonschema validates JSON documents somebody else wrote against a JSON Schema 2020-12 they publish — a webhook's payload, an OpenAPI request body, another program's configuration (#882, ADR 0210) — with the standard library alone.
codec/jsonshape
Package jsonshape — the members encoding/json writes for a struct, resolved by its own rules: json/v2's field walk under the v1 options Go 1.27's encoding/json runs with.
Package jsonshape — the members encoding/json writes for a struct, resolved by its own rules: json/v2's field walk under the v1 options Go 1.27's encoding/json runs with.
codec/msgpack
Package msgpack is the MessagePack codec — a native implementation of the specification (github.com/msgpack/msgpack/blob/master/spec.md) on the standard library alone, registered as the "msgpack" Format.
Package msgpack is the MessagePack codec — a native implementation of the specification (github.com/msgpack/msgpack/blob/master/spec.md) on the standard library alone, registered as the "msgpack" Format.
codec/multipart
Package multipart — boundary recovery and validation.
Package multipart — boundary recovery and validation.
codec/ndjson
Package ndjson implements newline-delimited JSON as a codec.Codec.
Package ndjson implements newline-delimited JSON as a codec.Codec.
codec/pem
Package pem wraps encoding/pem as a codec.Codec implementation.
Package pem wraps encoding/pem as a codec.Codec implementation.
codec/strictjson
Package strictjson — the reader that bounds a document and remembers why it stopped.
Package strictjson — the reader that bounds a document and remembers why it stopped.
codec/strictjson/httpbody
Package httpbody decodes the JSON body of an HTTP request with the strict decoder of its parent package, adding the three things only an HTTP body has: a bound net/http enforces too, an empty body settled before anything else, and a media type that must declare JSON.
Package httpbody decodes the JSON body of an HTTP request with the strict decoder of its parent package, adding the three things only an HTTP body has: a bound net/http enforces too, an empty body settled before anything else, and a media type that must declare JSON.
codec/tlv
Package tlv implements a self-describing Type-Length-Value codec.
Package tlv implements a self-describing Type-Length-Value codec.
codec/toml
Package toml is the TOML codec, written against TOML v1.0.0 (https://toml.io/en/v1.0.0) with the standard library alone.
Package toml is the TOML codec, written against TOML v1.0.0 (https://toml.io/en/v1.0.0) with the standard library alone.
codec/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").
codec/yaml
Package yaml — the block structure: mappings, sequences, keys and values.
Package yaml — the block structure: mappings, sequences, keys and values.
docstore
Package docstore — the store's construction parameters, and the refusals a configuration no store could honour gets, the index declarations' included: an IndexSpec is core/data/docstore's, which both engines take (ADR 0160).
Package docstore — the store's construction parameters, and the refusals a configuration no store could honour gets, the index declarations' included: an IndexSpec is core/data/docstore's, which both engines take (ADR 0160).
queue
Package queue — the consumer engine: the pull loop that runs a Handler on a CONSUMER'S goroutine, which is the third axis of ADR 0053's frontier.
Package queue — the consumer engine: the pull loop that runs a Handler on a CONSUMER'S goroutine, which is the third axis of ADR 0053's frontier.
sql
Package sql — hosts Config, the parameters every port in this package is built from, and the pool policy it applies.
Package sql — hosts Config, the parameters every port in this package is built from, and the pool policy it applies.
stream
Package stream holds the engines of core/data/stream's corestream.Stream port — memory, a directory of segments over kernel/fs/seglog, and a SQL table joined to the caller's transaction — and the subscriber that reads a stream on behalf of a consumer group (ADR 0231).
Package stream holds the engines of core/data/stream's corestream.Stream port — memory, a directory of segments over kernel/fs/seglog, and a SQL table joined to the caller's transaction — and the subscriber that reads a stream on behalf of a consumer group (ADR 0231).
transform
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.
vfs
Package vfs — the in-memory filesystem, and the read half of its contract.
Package vfs — the in-memory filesystem, and the read half of its contract.
net
client
Package client — the response body size ceiling.
Package client — the response body size ceiling.
http1
Package http1 is the restricted HTTP/1.1 profile (ADR 0186 §D6): a codec that frames requests out of bytes and appends responses to bytes, doing no I/O, and HandleLoop, the adapter that serves it on a loop group.
Package http1 is the restricted HTTP/1.1 profile (ADR 0186 §D6): a codec that frames requests out of bytes and appends responses to bytes, doing no I/O, and HandleLoop, the adapter that serves it on a loop group.
http2
Package http2 is the SDK's HTTP/2 codec for the loop engine's sibling profile (ADR 0221, amending ADR 0186 §D6): pure functions over []byte and no I/O, the shape http1 has.
Package http2 is the SDK's HTTP/2 codec for the loop engine's sibling profile (ADR 0221, amending ADR 0186 §D6): pure functions over []byte and no I/O, the shape http1 has.
loop
Package loop is the network domain's event-loop engine (ADR 0186): the native backends a plaintext stream group runs on when it is served by a corenet.LoopHandler — epoll on every Linux architecture, io_uring after a staged probe of the running kernel — and nothing else of the SDK.
Package loop is the network domain's event-loop engine (ADR 0186): the native backends a plaintext stream group runs on when it is served by a corenet.LoopHandler — epoll on every Linux architecture, io_uring after a staged probe of the running kernel — and nothing else of the SDK.
server
Package server — adoption of listeners inherited from a supervisor.
Package server — adoption of listeners inherited from a supervisor.
sse
Package sse — an event's wire form, as the WHATWG HTML standard's Server-Sent Events format spells it: the encoder that turns a corenet.SSEEventValue into the bytes a stream writes, and a comment into the one frame no client dispatches.
Package sse — an event's wire form, as the WHATWG HTML standard's Server-Sent Events format spells it: the encoder that turns a corenet.SSEEventValue into the bytes a stream writes, and a comment into the one frame no client dispatches.
static
Package static — what NewHandler refuses in a Config.
Package static — what NewHandler refuses in a Config.
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 closing handshake's payload (RFC 6455 §5.5.1): a two-byte status code and an optional UTF-8 reason, written and read here.
Package websocket — the closing handshake's payload (RFC 6455 §5.5.1): a two-byte status code and an optional UTF-8 reason, written and read here.
observe
internal/otlp
Package otlp — the appenders: one OTLP/JSON document written into one buffer, byte for byte what Marshal renders, without reflection and without a slice per scalar.
Package otlp — the appenders: one OTLP/JSON document written into one buffer, byte for byte what Marshal renders, without reflection and without a slice per scalar.
logger
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.
logger/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).
logger/internal/datagram
Package datagram sends a backlog of datagrams over a connected socket in as few system calls as the kernel allows: sendmmsg(2) on Linux, up to MaxBatch datagrams a call, and one Write per datagram elsewhere (#807).
Package datagram sends a backlog of datagrams over a connected socket in as few system calls as the kernel allows: sendmmsg(2) on Linux, up to MaxBatch datagrams a call, and one Write per datagram elsewhere (#807).
logger/internal/logfile
Package logfile is the hardened open both file sinks share: the append-only sink in internal/service/observe/logger/sink/file and the rotating one in internal/service/observe/logger/writer/rotfile, which re-runs it on every reopen after a rotation.
Package logfile is the hardened open both file sinks share: the append-only sink in internal/service/observe/logger/sink/file and the rotating one in internal/service/observe/logger/writer/rotfile, which re-runs it on every reopen after a rotation.
logger/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.
logger/middleware/encwrite
Package encwrite — declares the Config value type consumed by NewEncWriter.
Package encwrite — declares the Config value type consumed by NewEncWriter.
logger/middleware/failover
Package failover implements a sequential-retry Sink that tries downstream sinks in order until one succeeds.
Package failover implements a sequential-retry Sink that tries downstream sinks in order until one succeeds.
logger/middleware/multi
Package multi implements a fanout Sink that broadcasts each Write to a fixed list of downstream sinks.
Package multi implements a fanout Sink that broadcasts each Write to a fixed list of downstream sinks.
logger/middleware/recover
Package recover — holds the Config struct consumed by NewWithConfig.
Package recover — holds the Config struct consumed by NewWithConfig.
logger/middleware/route
Package route implements a predicate-based router Sink.
Package route implements a predicate-based router Sink.
logger/middleware/sample
Package sample implements two sampling Sinks.
Package sample implements two sampling Sinks.
logger/middleware/tee
Package tee — declares the Config value type consumed by New.
Package tee — declares the Config value type consumed by New.
logger/sink/console
Package console implements a Sink that writes formatted records onto an io.Writer (typically os.Stdout or os.Stderr) under a local mutex so concurrent goroutines emit atomic lines.
Package console implements a Sink that writes formatted records onto an io.Writer (typically os.Stdout or os.Stderr) under a local mutex so concurrent goroutines emit atomic lines.
logger/sink/file
Package file implements a Sink that appends formatted records to an on-disk file.
Package file implements a Sink that appends formatted records to an on-disk file.
logger/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.
logger/sink/syslog
Package syslog — holds the Config struct consumed by NewWithConfig.
Package syslog — holds the Config struct consumed by NewWithConfig.
logger/writer/console
Package console registers the "console" writer factory.
Package console registers the "console" writer factory.
logger/writer/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).
logger/writer/file
Package file registers the "file" writer factory.
Package file registers the "file" writer factory.
logger/writer/journald
Package journald — the config Decoder making "journald" reachable from a config file via pkg/v1/observe/logger.FromConfig.
Package journald — the config Decoder making "journald" reachable from a config file via pkg/v1/observe/logger.FromConfig.
logger/writer/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.
logger/writer/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.
logger/writer/otlpjson
Package otlpjson registers the "otlpjson" writer factory (#867): the third OpenTelemetry signal.
Package otlpjson registers the "otlpjson" writer factory (#867): the third OpenTelemetry signal.
logger/writer/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.
metrics
Package metrics — one instrument name's slot in a collection arena.
Package metrics — one instrument name's slot in a collection arena.
metrics/goruntime
Package goruntime publishes the Go runtime's own instruments on a metrics meter (#868), under the OpenTelemetry Go runtime semantic conventions.
Package goruntime publishes the Go runtime's own instruments on a metrics meter (#868), under the OpenTelemetry Go runtime semantic conventions.
metrics/statsbridge
Package statsbridge turns the Stats value of each SDK engine that has one into a metrics Observer (#871), so its counters reach an exporter through RegisterObservers without the product copying them by hand.
Package statsbridge turns the Stats value of each SDK engine that has one into a metrics Observer (#871), so its counters reach an exporter through RegisterObservers without the product copying them by hand.
profiling
Package profiling — hosts CanonicalName: one spelling for a function, whoever named it.
Package profiling — hosts CanonicalName: one spelling for a function, whoever named it.
trace
Package trace — the Tracer's configuration: producing Resource, instrumentation Scope, sampling policy, span destination and clock.
Package trace — the Tracer's configuration: producing Resource, instrumentation Scope, sampling policy, span destination and clock.
proc
bpf
Package bpf is the engine of the cgroup BPF programs (ADR 0215): it holds the one backend a program links and hands it the policies core/proc/bpf validated.
Package bpf is the engine of the cgroup BPF programs (ADR 0215): it holds the one backend a program links and hands it the policies core/proc/bpf validated.
buildinfo
Package buildinfo is what the running binary was built from, read from the build information the Go toolchain embedded in it.
Package buildinfo is what the running binary was built from, read from the build information the Go toolchain embedded in it.
cgroup
Package cgroup — creates and manages cgroup v2 control groups.
Package cgroup — creates and manages cgroup v2 control groups.
childwait
Package childwait decides who receives a child's exit status (ADR 0093).
Package childwait decides who receives a child's exit status (ADR 0093).
dbus
Package dbus is the SDK's message bus client (kitsunium/sdk#737, ADR 0214's S0e amendment): what a supervisor needs of a D-Bus daemon to run systemd's Type=dbus — who owns a well-known name, and every change of it — and what a supervised Go service needs to be one: owning its name.
Package dbus is the SDK's message bus client (kitsunium/sdk#737, ADR 0214's S0e amendment): what a supervisor needs of a D-Bus daemon to run systemd's Type=dbus — who owns a well-known name, and every change of it — and what a supervised Go service needs to be one: owning its name.
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).
internal/bsdabi
Package bsdabi decodes, from their bytes, the records the BSD kernels and darwin hand the proc family: a process's kinfo_proc (kinfo_proc2 on NetBSD), read by sysctl(3) for its start time and its users, and the sockcred2 FreeBSD attaches to a datagram for its sender.
Package bsdabi decodes, from their bytes, the records the BSD kernels and darwin hand the proc family: a process's kinfo_proc (kinfo_proc2 on NetBSD), read by sysctl(3) for its start time and its users, and the sockcred2 FreeBSD attaches to a datagram for its sender.
internal/cgroupfs
Package cgroupfs reads where this process sits in the control-group filesystem: where each hierarchy is mounted and which part of it a mount exposes (/proc/self/mountinfo, octal escapes decoded), which cgroup the process belongs to (/proc/self/cgroup), the translation between the two, and the directory of its own unified cgroup.
Package cgroupfs reads where this process sits in the control-group filesystem: where each hierarchy is mounted and which part of it a mount exposes (/proc/self/mountinfo, octal escapes decoded), which cgroup the process belongs to (/proc/self/cgroup), the translation between the two, and the directory of its own unified cgroup.
internal/rlim
Package rlim builds the kernel's resource-limit struct from a soft/hard pair: the one place the proc family turns a coreproc.LimitValue into the syscall.Rlimit that setrlimit(2) and prlimit64(2) read.
Package rlim builds the kernel's resource-limit struct from a soft/hard pair: the one place the proc family turns a coreproc.LimitValue into the syscall.Rlimit that setrlimit(2) and prlimit64(2) read.
ipc
Package ipc — the components ABOVE the socket's directory, and who could steer them: ADR 0083's rule, applied where the directory is the whole of the access control (ADR 0148).
Package ipc — the components ABOVE the socket's directory, and who could steer them: ADR 0083's rule, applied where the directory is the whole of the access control (ADR 0148).
ipc/rpc
Package rpc is a call between two processes of one machine over the private socket (ADR 0218): a request and its reply, or a request and the items a server pushes, each framed, bounded and typed by a codec format both ends agreed on.
Package rpc is a call between two processes of one machine over the private socket (ADR 0218): a request and its reply, or a request and the items a server pushes, each framed, bounded and typed by a codec format both ends agreed on.
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/proc/reaper.
Package reaper — the PID1 / subreaper zombie collector backing pkg/v1/proc/reaper.
rlimit
Package rlimit — applies per-process setrlimit(2) resource ceilings.
Package rlimit — applies per-process setrlimit(2) resource ceilings.
self
Package self is what the running process is doing right now: the Go runtime's own metrics and the kernel's account of the CPU time used.
Package self is what the running process is doing right now: the Go runtime's own metrics and the kernel's account of the CPU time used.
service
Package service is the engine of a service unit's life cycle (ADR 0214): systemd.service(5)'s state machine for one service — Type=, the Exec*= commands and their prefixes, the timeouts and their failure modes, the watchdog, the notification protocol, Restart=, RestartSec= on the kernel's backoff curve, the start limiter, the stop's escalation.
Package service is the engine of a service unit's life cycle (ADR 0214): systemd.service(5)'s state machine for one service — Type=, the Exec*= commands and their prefixes, the timeouts and their failure modes, the watchdog, the notification protocol, Restart=, RestartSec= on the kernel's backoff curve, the start limiter, the stop's escalation.
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.
systemd/listen
Package listen — non-Unix stub.
Package listen — non-Unix stub.
systemd/notify
Package notify — the supervisor (listener) side on Linux: SO_PASSCRED.
Package notify — the supervisor (listener) side on Linux: SO_PASSCRED.
security
authz
Package authz — hosts the attribute-based evaluator.
Package authz — hosts the attribute-based evaluator.
redact
Package redact — log attributes rendered as display text.
Package redact — log attributes rendered as display text.
secret
Package secret — the read-only store over the process environment, with the NAME_FILE convention Docker and Kubernetes secrets use.
Package secret — the read-only store over the process environment, with the NAME_FILE convention Docker and Kubernetes secrets use.
session
Package session — the components ABOVE the store directory, which no flag on an open can reach.
Package session — the components ABOVE the store directory, which no flag on an open can reach.
token
Package token — one JWK Set member, with its binding already derived.
Package token — one JWK Set member, with its binding already derived.

Jump to

Keyboard shortcuts

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