Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Needer ¶
type Needer interface {
WithPlugins(Feeder)
}
Needer can be implemented to receive a Feeder function that can be used to gain access to other plugins in the system.
type Plugin ¶
type Plugin interface {
PluginName() string
}
Plugin is the most basic interface a plugin can implement.
type Plugins ¶
type Plugins []Plugin
Plugins is a slice of type `Plugin` that provides additional useful functionality.
func (Plugins) Less ¶
Less reports whether the element with index i should sort before the element with index j.
func (Plugins) ScopedPlugins ¶
ScopedPlugins implements Scoper, return itself.
Click to show internal directories.
Click to hide internal directories.