Documentation
¶
Index ¶
Constants ¶
View Source
const ManagementFileName = managementAssetName
ManagementFileName exposes the control panel asset filename.
Variables ¶
This section is empty.
Functions ¶
func EnsureLatestManagementHTML ¶
EnsureLatestManagementHTML checks the latest management.html asset and updates the local copy when needed. The function is designed to run in a background goroutine and will never panic. It enforces a 3-hour rate limit to avoid frequent checks on config/auth file changes.
func SetCurrentConfig ¶ added in v6.2.26
SetCurrentConfig stores the latest configuration snapshot for management asset decisions.
func StartAutoUpdater ¶ added in v6.2.26
StartAutoUpdater launches a background goroutine that periodically ensures the management asset is up to date. It respects the disable-control-panel flag on every iteration and supports hot-reloaded configurations.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.