Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
hostthisd
command
Package main wires the hostthis daemon: SSH server, HTTP server, storage and the periodic blob-GC sweep, configured from flags and HOSTTHIS_* env.
|
Package main wires the hostthis daemon: SSH server, HTTP server, storage and the periodic blob-GC sweep, configured from flags and HOSTTHIS_* env. |
|
render-md
command
Tiny helper that pipes stdin -> render.Markdown -> stdout.
|
Tiny helper that pipes stdin -> render.Markdown -> stdout. |
|
internal
|
|
|
archive
Package archive is the gzip-tar adapter for site uploads.
|
Package archive is the gzip-tar adapter for site uploads. |
|
cache
Package cache holds CachePurger implementations.
|
Package cache holds CachePurger implementations. |
|
domain
Package domain holds pure types and rules, no I/O.
|
Package domain holds pure types and rules, no I/O. |
|
durable
Package durable records that a multi-step operation is in flight, so a process death cannot lose the knowledge that the work must be finished or undone.
|
Package durable records that a multi-step operation is in flight, so a process death cannot lose the knowledge that the work must be finished or undone. |
|
http
readyz.go - the /readyz rollout gate (docs/SPEC.md "Readiness vs liveness"): 200 iff the metadata backend's readiness predicate passes, 503 otherwise, with the mount counts as JSON in both directions so a stalled rollout is diagnosable with curl.
|
readyz.go - the /readyz rollout gate (docs/SPEC.md "Readiness vs liveness"): 200 iff the metadata backend's readiness predicate passes, 503 otherwise, with the mount counts as JSON in both directions so a stalled rollout is diagnosable with curl. |
|
mime
Package mime adapts net/http's content sniffer so the domain need not import net/http.
|
Package mime adapts net/http's content sniffer so the domain need not import net/http. |
|
relay
Package relay is the real-time room relay (SPEC.md "Real-time room relay (WebSocket)"): a generic per-room broadcast channel that fans one client's message out verbatim to every OTHER client in that room.
|
Package relay is the real-time room relay (SPEC.md "Real-time room relay (WebSocket)"): a generic per-room broadcast channel that fans one client's message out verbatim to every OTHER client in that room. |
|
relay/relaygrpc
Package relaygrpc is the relay's peer-transport adapter (docs/SPEC.md "Multi-pod relay: the peer transport"): the Receiver, a gRPC service every pod registers on the cluster-internal server shale forwarding already runs, and the Publisher, which fans a frame out to every peer over bounded per-peer queues.
|
Package relaygrpc is the relay's peer-transport adapter (docs/SPEC.md "Multi-pod relay: the peer transport"): the Receiver, a gRPC service every pod registers on the cluster-internal server shale forwarding already runs, and the Publisher, which fans a frame out to every peer over bounded per-peer queues. |
|
render
Package render turns user-uploaded source into safe-to-serve HTML.
|
Package render turns user-uploaded source into safe-to-serve HTML. |
|
service
Package service orchestrates use cases.
|
Package service orchestrates use cases. |
|
ssh
Package ssh implements the SSH-pipe CLI surface.
|
Package ssh implements the SSH-pipe CLI surface. |
|
storage
Package storage's shale-cluster-backed room (app-persistence) KV store.
|
Package storage's shale-cluster-backed room (app-persistence) KV store. |
|
storagetest
Package storagetest opens a metadata repo for tests in other packages.
|
Package storagetest opens a metadata repo for tests in other packages. |
Click to show internal directories.
Click to hide internal directories.