zero

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Zero

type Zero struct {
	One      []byte
	Input    []byte
	Keyboard []byte
	Origin   string
	Circuit  string
}

Zero holds the compiled HTML shell and shared assets. Origin is the CORS-allowed root domain; Circuit is the API endpoint URL baked into the HTML at build time.

func NewZero

func NewZero(origin, circuit string) *Zero

NewZero constructs Zero from a single host string. See resolve for how origin and circuit are derived.

Jump to

Keyboard shortcuts

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