package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Feb 25, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package manager provides a simple group plugin manager.
ForEach iterates through managers.
type Manager interface {
Enable(groupID int64)
Disable(groupID int64)
}
Manager is the interface of plugin group manager.
Lookup returns a Manager by the service name, if
not exist, it will returns nil.
New returns Manager with settings.
type Options struct {
DisableOnDefault bool
}
Options holds the optional parameters for the Manager.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.