Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateDb ¶
func MigrateDb() error
MigrateDb runs schema migrations against the SQLite database located at `config.GetDBPath()`. The legacy variant terminated the process on any error, which made restoring an incompatible backup through the panel kill the whole panel. The function now returns an error so callers can decide what to do (the CLI prints and exits non-zero, the panel falls back to the previous database).
func MigrateDbWithOptions ¶
Types ¶
type InboundData ¶
type InboundData struct {
Id uint
Tag string
Addrs json.RawMessage
OutJson json.RawMessage
}
Click to show internal directories.
Click to hide internal directories.