testserver

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Overview

testserver runs the sync engine with the test entities (Todo, Widget), the complete_all mutator and a deny-rule permission hook. The integration suites spawn it on port 0 and read the address from stdout. With -access it serves the access-model test schema instead, and /debug/trusted to seed its grant rows.

It also serves permissive CORS and a /debug/rpc counter endpoint so the browser e2e suite can reach it from the harness origin and assert what did (and did not) reach the server; see debug.go.

Jump to

Keyboard shortcuts

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