Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLockFile ¶
CreateLockFile tries to create a file with given name and acquire an exclusive lock on it. If the file already exists AND is still locked, it will fail.
func GetLockFilePid ¶
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) CallableByJS ¶
func (*Plugin) Exported ¶
Exported returns a list of exported methods that can be called from the frontend
func (*Plugin) OnShutdown ¶
OnShutdown is called when the app is shutting down
func (*Plugin) OnStartup ¶
func (p *Plugin) OnStartup(ctx context.Context, options application.ServiceOptions) error
OnStartup is called when the app is starting up. You can use this to initialise any resources you need. You can also access the application instance via the app property.
Click to show internal directories.
Click to hide internal directories.