Documentation
¶
Overview ¶
Package studio serves melange studio: a local, read-only web console over a melange-managed database. It is a presentation layer over calls the CLI already makes (GetDeployedModel, Checker.Explain, Checker.Expand); see specs/proposals/STUDIO.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadOnlyDSN ¶
ReadOnlyDSN returns dsn with default_transaction_read_only=on set as a connection runtime parameter, so every statement the console runs is in a read-only transaction. Accepts URL and key=value forms.
func SetLatestRelease ¶
func SetLatestRelease(v string)
SetLatestRelease records a newer release ("0.9.7") for the top bar. The check runs in the CLI, server-side, so the page itself never calls out.
Types ¶
Click to show internal directories.
Click to hide internal directories.