conformance

command
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 10 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

Command conformance stands up a Livewire server exposing exactly what the shared scenarios expect, so the TypeScript conformance suite can drive this implementation over a real socket.

It is a test fixture, not an example: two sources, one way to make the data change, and nothing else.

go run ./cmd/conformance -addr 127.0.0.1:8080

Sources:

  • `rows` a list whose newest row arrives at the top
  • `still` a window that never changes
  • `mine` one row, who opened the socket (`?caller=` of its URL)

POST /touch makes an arrival happen.

Jump to

Keyboard shortcuts

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