Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SearchExtensions ¶
func SearchExtensions(folderPath string, fn func(watchful.Executable, error)) error
SearchExtensions recursively loads all plugins in target folderPath and converts them to watchful.Executable. Then calls callback fn with each of them
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Executables ¶
func (s *Service) Executables() map[string]watchful.Executable
func (*Service) RegisterExecutable ¶
func (s *Service) RegisterExecutable(e watchful.Executable)
Click to show internal directories.
Click to hide internal directories.