Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AppConfigModel is the in-memory bridge for the app config. Access it via // GetAppConfig / SetAppConfig to stay race-free across the startup goroutine // (writer) and IPC handlers (readers). Direct field access is kept for // legacy call sites but should migrate to the getters. AppConfigModel *models.AppConfig PromptsFS embed.FS )
Functions ¶
func AssetExists ¶ added in v0.0.2
func GetAppConfig ¶ added in v0.0.9
GetAppConfig returns a snapshot pointer to the current app config. Callers must not mutate the returned struct; use SetAppConfig to replace it.
func GetAssetFile ¶ added in v0.0.2
func SetAppConfig ¶ added in v0.0.9
SetAppConfig replaces the current app config atomically.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.