Documentation
¶
Index ¶
- Constants
- Variables
- func AssetPathFor(configFilePath string, assetPath string) string
- func FilePath(configFilePath string) string
- func FilePathFor(configFilePath string, assetName string) string
- func SetCurrentConfig(cfg *config.Config)
- func StartAutoUpdater(ctx context.Context, configFilePath string)
- func StaticDir(configFilePath string) string
Constants ¶
View Source
const AssetsDirName = assetsDirName
AssetsDirName is the directory that stores hashed static assets.
View Source
const IndexFileName = indexAssetName
IndexFileName exposes the embedded entry asset filename.
View Source
const ManagementFileName = managementAssetName
ManagementFileName exposes the administrator control panel asset filename.
View Source
const UserFileName = userAssetName
UserFileName exposes the user workspace asset filename.
Variables ¶
View Source
var PanelFileNames = []string{IndexFileName, ManagementFileName, UserFileName}
PanelFileNames lists all embedded control panel assets.
Functions ¶
func AssetPathFor ¶ added in v1.0.40
AssetPathFor resolves a path under the embedded control panel assets directory.
func FilePathFor ¶ added in v1.0.40
FilePathFor resolves the absolute path to a specific embedded control panel asset.
func SetCurrentConfig ¶
SetCurrentConfig is retained for compatibility with runtime wiring.
func StartAutoUpdater ¶
StartAutoUpdater is retained for compatibility but does not perform remote updates.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.