Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth is the single contract for authenticating inbound HTTP requests in clank.
|
Package auth is the single contract for authenticating inbound HTTP requests in clank. |
|
Package blobstore is a provider-agnostic object-storage layer: a minimal presigned-URL contract plus path-safety primitives, with no knowledge of what the blobs are.
|
Package blobstore is a provider-agnostic object-storage layer: a minimal presigned-URL contract plus path-safety primitives, with no knowledge of what the blobs are. |
|
Package gateway is the daemon's single ingress: it authenticates, resolves the user to a persistent host via the provisioner, and reverse-proxies everything else through.
|
Package gateway is the daemon's single ingress: it authenticates, resolves the user to a persistent host via the provisioner, and reverse-proxies everything else through. |
|
previewtunnel
Package previewtunnel exposes the preview-app's HTTP transport: a thin wrapper around an stdlib *http.Transport whose DialContext opens a fresh net.Conn to a sprite's internal port via the configured Provisioner.
|
Package previewtunnel exposes the preview-app's HTTP transport: a thin wrapper around an stdlib *http.Transport whose DialContext opens a fresh net.Conn to a sprite's internal port via the configured Provisioner. |
|
Package images is the gateway-side presign service for user image uploads: its own blobstore.Storage (its own bucket) and its own /v1/images route, built on pkg/blobstore.
|
Package images is the gateway-side presign service for user image uploads: its own blobstore.Storage (its own bucket) and its own /v1/images route, built on pkg/blobstore. |
|
Package notify implements the clankd-side push delivery for host-emitted notifier webhooks.
|
Package notify implements the clankd-side push delivery for host-emitted notifier webhooks. |
|
preview
|
|
|
routestore
Package routestore is the contract for preview-route persistence.
|
Package routestore is the contract for preview-route persistence. |
|
routestore/memstore
Package memstore is an in-memory routestore.Store for tests.
|
Package memstore is an in-memory routestore.Store for tests. |
|
tokens
Package tokens holds the constants and helpers shared between clank-host (which receives a token in the webhook response and returns it to mobile) and clankgw (which mints tokens, resolves them on subdomain requests, and gates visibility).
|
Package tokens holds the constants and helpers shared between clank-host (which receives a token in the webhook response and returns it to mobile) and clankgw (which mints tokens, resolves them on subdomain requests, and gates visibility). |
|
Package provisioner defines the contract between the gateway/hub layers and the cloud-side machinery that owns persistent per-user hosts.
|
Package provisioner defines the contract between the gateway/hub layers and the cloud-side machinery that owns persistent per-user hosts. |
|
flymachines
GetHostByID + OpenInternalConn capability extensions.
|
GetHostByID + OpenInternalConn capability extensions. |
|
flysprites
Sprites-side implementation of the GetHostByID + OpenInternalConn capability extensions on provisioner.Provisioner.
|
Sprites-side implementation of the GetHostByID + OpenInternalConn capability extensions on provisioner.Provisioner. |
|
hoststore
Package hoststore defines the persistence contract used by cloud provisioners (flysprites, flymachines, …) for tracking the per-(userID, provider) host record.
|
Package hoststore defines the persistence contract used by cloud provisioners (flysprites, flymachines, …) for tracking the per-(userID, provider) host record. |
|
local
Local-subprocess implementation of GetHostByID + OpenInternalConn.
|
Local-subprocess implementation of GetHostByID + OpenInternalConn. |
|
transport
Package transport holds RoundTripper helpers shared across provisioners.
|
Package transport holds RoundTripper helpers shared across provisioners. |
|
tunnelclient
Package tunnelclient dials clank-host's GET /tunnel/{port} endpoint and adapts the WebSocket to a net.Conn carrying the raw TCP bytes of a port on the host's loopback.
|
Package tunnelclient dials clank-host's GET /tunnel/{port} endpoint and adapts the WebSocket to a net.Conn carrying the raw TCP bytes of a port on the host's loopback. |
Click to show internal directories.
Click to hide internal directories.