Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FireOnLoad ¶
func FireOnPreload ¶
func FireOnPreload() (err error)
Types ¶
type Builder ¶
type Builder struct {
TempProjectDir string // path to the temp custom pocketbase project directory
// contains filtered or unexported fields
}
type Plugin ¶
type Plugin interface {
/**
* Preload is called before the app is setup.
* This is a good place to load configurations.
*/
OnPreload() error
/**
* Load is called after the app is setup.
* This is a good place to register commands
* and hooks.
*/
OnLoad(app core.App) error
/**
* Get plugin info
*/
Info() PluginInfo
}
func GetPlugins ¶
func GetPlugins() []Plugin
type PluginInfo ¶
For display purposes only
Click to show internal directories.
Click to hide internal directories.