GET / is the status page in the lofigui manner (per-request Context, navbar layout, Bulma served locally, Refresh header) and GET /status the same as JSON: version, instance, archive, address, since, people, items held and reserved, requests served and the ten slots, each free, this, serving (naming the instance) or taken. serve passes the archive path, address and its whoIsAt probe to the service. Items.Count() and JSON tags on archive.Instance. lofigui v0.18.0 is the new dependency. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
18 lines
447 B
Modula-2
18 lines
447 B
Modula-2
module git.bytestone.uk/hum3/life-weaver
|
|
|
|
go 1.27.3
|
|
|
|
require (
|
|
git.bytestone.uk/hum3/lofigui v0.18.0
|
|
github.com/yuin/goldmark v1.8.6
|
|
golang.org/x/image v0.47.0
|
|
golang.org/x/text v0.43.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/hack-pad/safejs v0.1.1 // indirect
|
|
github.com/nlepage/go-js-promise v1.1.0 // indirect
|
|
github.com/nlepage/go-wasm-http-server/v2 v2.2.1 // indirect
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
|
)
|