relay

command
v0.2.1-rc.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command relay is the codeaf relay: a blind pipe between a machine that runs codeaf and a machine somebody is sitting at.

IT IS A SEPARATE BINARY BECAUSE IT IS A SEPARATE THING. Nothing in it imports the session, the surface, or the wire they speak; it cannot open a frame and has nothing to open one with. Building it apart from `codeaf` is how that stays true — a relay that linked the session package would be one careless import away from being able to read what it forwards.

It is also what internal/pair's own tests drive, which is the other reason it exists: the end-to-end story — a machine registering, a device pairing, a conversation crossing — is tested against this exact service and not against a stub of it.

relay --listen :8787

In front of it in production goes whatever already terminates TLS. The relay reads X-Forwarded-For when it is there, so its rate limits count the caller and not the load balancer.

Jump to

Keyboard shortcuts

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