pkg/

directory
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0

Directories

Path Synopsis
api
requests
Package requests defines structures to represent requests' bodies from API.
Package requests defines structures to represent requests' bodies from API.
scope
Package scope makes the namespace an operation is bounded to a first-class value.
Package scope makes the namespace an operation is bounded to a first-class value.
openapi module
Package connectivity reports a server's reachability as transitions rather than as attempts, so a component that retries for as long as it is offline logs when it loses the server and when it gets it back instead of once per retry.
Package connectivity reports a server's reachability as transitions rather than as attempts, so a component that retries for as long as it is offline logs when it loses the server and when it gets it back instead of once per retry.
Package devicekey reads the key pair a device enrols with: the agent's SSH host key, whose public half the device record stores as PEM.
Package devicekey reads the key pair a device enrols with: the agent's SSH host key, whose public half the device record stores as PEM.
Package geoip helps in geolocation operations.
Package geoip helps in geolocation operations.
Package pairingcode generates and validates short, human-readable codes — the kind a person reads off one screen and types on another (device pairing, invitation links).
Package pairingcode generates and validates short, human-readable codes — the kind a person reads off one screen and types on another (device pairing, invitation links).
Package publicurl resolves the URL users reach a ShellHub instance at.
Package publicurl resolves the URL users reach a ShellHub instance at.
Package revdial implements a Dialer and Listener which work together to turn an accepted connection (for instance, a Hijacked HTTP request) into a Dialer which can then create net.Conns connecting back to the original dialer, which then gets a net.Listener accepting those conns.
Package revdial implements a Dialer and Listener which work together to turn an accepted connection (for instance, a Hijacked HTTP request) into a Dialer which can then create net.Conns connecting back to the original dialer, which then gets a net.Listener accepting those conns.
Package telemetry sends usage events to the ShellHub telemetry collector, which speaks PostHog's capture v1 protocol.
Package telemetry sends usage events to the ShellHub telemetry collector, which speaks PostHog's capture v1 protocol.
Package testimage gives a test that builds a ShellHub Dockerfile the build arguments the Dockerfile declares without defaults: the versions pinned in versions.env at the repository root, the same file the compose wrapper and CI pass to their builds.
Package testimage gives a test that builds a ShellHub Dockerfile the build arguments the Dockerfile declares without defaults: the versions pinned in versions.env at the repository root, the same file the compose wrapper and CI pass to their builds.
Package testport publishes test containers on host ports below the kernel's ephemeral range, so that rootless Docker under pasta, which forwards only non-ephemeral ports, can reach them.
Package testport publishes test containers on host ports below the kernel's ephemeral range, so that rootless Docker under pasta, which forwards only non-ephemeral ports, can reach them.
Package testrun owns the Docker objects a test process creates on a shared daemon.
Package testrun owns the Docker objects a test process creates on a shared daemon.
Package webendpoints provides helpers for composing web-endpoint hostnames.
Package webendpoints provides helpers for composing web-endpoint hostnames.
wsconnadaptertest
Package wsconnadaptertest connects a wsconnadapter.Adapter to a WebSocket peer over an in-memory pipe, so a test can drive the adapter's keep-alive inside a testing/synctest bubble without a socket or the real clock.
Package wsconnadaptertest connects a wsconnadapter.Adapter to a WebSocket peer over an in-memory pipe, so a test can drive the adapter's keep-alive inside a testing/synctest bubble without a socket or the real clock.

Jump to

Keyboard shortcuts

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