10 lines
663 B
Go
10 lines
663 B
Go
// Package adminconsole renders the backend's server-side admin console: a small,
|
|
// dependency-free set of Go html/template pages plus one embedded stylesheet,
|
|
// served under /_gm. It owns the rendering and the page view models only; the gin
|
|
// handlers (internal/server) fetch the domain data, populate the view models and
|
|
// gate the surface — the gateway puts HTTP Basic-Auth in front of /_gm and a
|
|
// same-origin check guards the POST actions (docs/ARCHITECTURE.md §12). It mirrors
|
|
// the shape of galaxy-game's adminconsole package, minus the per-operator CSRF
|
|
// token and operator name (this console tracks no operator identity).
|
|
package adminconsole
|