Documentation
¶
Overview ¶
Package web is `rig web`: the control plane in a browser, served on this machine. The page is static; everything it shows comes from the Engine API (the calls `rig serve` answers), behind a token the printed link carries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
File string
Token string
// Open opens the project on an environment ("" is its default).
Open func(file, env string) (*engine.App, error)
// Info is merged into GET /v1/web: themes, the chosen theme, the version.
Info map[string]any
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.