Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
func (*Downloader) Run ¶
func (d *Downloader) Run(ctx context.Context)
type PluginFactory ¶
type Registry ¶
type Registry map[string]PluginFactory
func (Registry) Register ¶
func (r Registry) Register(name string, factory PluginFactory)
func (Registry) Unregister ¶
Unregister removes an existing plugins from the registry. If no plugins with the provided name exists, it returns an error.
Click to show internal directories.
Click to hide internal directories.