Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Name ¶
Name returns the name of the plugin. You should use the go module format e.g. github.com/myuser/myplugin
func (*Service) OnShutdown ¶
OnShutdown is called when the app is shutting down You can use this to clean up any resources you have allocated
func (*Service) OnStartup ¶
func (s *Service) 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.
Click to show internal directories.
Click to hide internal directories.