relaybundle

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: MIT Imports: 2 Imported by: ? 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

Package relaybundle carries the built relay Worker inside the flue binary, so that `flue relay setup` can deploy it into a user's own Cloudflare account with no Node, no wrangler, and no checkout — the same promise the embedded web app makes for the daemon's UI.

The directory this package lives in is also the Worker's source tree. The Go files here are this one and its `dev`-tagged counterpart; everything else is esbuild's input and output.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() []byte

Module returns the built Worker.

It returns a copy. The embedded bundle is a package-level []byte, which is mutable, so handing out the backing array would let any caller's slice arithmetic corrupt every later deploy in the process — a 16 KiB copy on a path that runs once per `flue relay setup` is not a cost worth reasoning about, and the alternative is a comment nobody reads.

Types

This section is empty.

Jump to

Keyboard shortcuts

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