Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
hostthisd
command
Package main wires the hostthis daemon: SSH server + HTTP server + storage + the periodic expiry sweep.
|
Package main wires the hostthis daemon: SSH server + HTTP server + storage + the periodic expiry sweep. |
|
render-md
command
Tiny helper that pipes stdin -> render.Markdown -> stdout.
|
Tiny helper that pipes stdin -> render.Markdown -> stdout. |
|
internal
|
|
|
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. |
|
http
Package http serves the apex landing + the paste read surface.
|
Package http serves the apex landing + the paste read surface. |
|
relay
Package relay is the real-time room relay bounded context (see SPEC.md "Real-time room relay (WebSocket)").
|
Package relay is the real-time room relay bounded context (see SPEC.md "Real-time room relay (WebSocket)"). |
|
relay/relaygrpc
Package relaygrpc is the relay's peer-transport adapter (see docs/SPEC.md "Multi-pod relay: the peer transport"): the gRPC service every pod registers on the cluster-internal server shale forwarding already runs (the Receiver), and the dialing PeerPublisher that fans a frame out to every peer over bounded per-peer queues (the Publisher).
|
Package relaygrpc is the relay's peer-transport adapter (see docs/SPEC.md "Multi-pod relay: the peer transport"): the gRPC service every pod registers on the cluster-internal server shale forwarding already runs (the Receiver), and the dialing PeerPublisher that fans a frame out to every peer over bounded per-peer queues (the Publisher). |
|
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 surface - the user's full CLI.
|
Package ssh implements the SSH-pipe surface - the user's full CLI. |
|
storage
Package storage holds the infrastructure adapters that back the domain types - sqlite for paste metadata, content-addressed disk store for paste bytes.
|
Package storage holds the infrastructure adapters that back the domain types - sqlite for paste metadata, content-addressed disk store for paste bytes. |
Click to show internal directories.
Click to hide internal directories.