Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProtocolVersion = 1 MagicCookieKey = "DODO_PLUGIN" MagicCookieValue = "69318785-d741-4150-ac91-8f03fa703530" FailedPlugin = "error" )
Variables ¶
This section is empty.
Functions ¶
func PathByName ¶
Types ¶
type CircularDependencyError ¶
func (CircularDependencyError) Error ¶
func (e CircularDependencyError) Error() string
type InvalidError ¶
type InvalidError struct { Plugin *core.PluginName Message string }
func (InvalidError) Error ¶
func (e InvalidError) Error() string
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (Manager) IncludePlugins ¶
func (Manager) LoadPlugins ¶
func (m Manager) LoadPlugins()
func (Manager) RegisterPluginTypes ¶
func (Manager) ServePlugins ¶
func (Manager) UnloadPlugins ¶
func (m Manager) UnloadPlugins()
type NotFoundError ¶
type NotFoundError struct {
Plugin *core.PluginName
}
func (NotFoundError) Error ¶
func (e NotFoundError) Error() string
type Plugin ¶
type Plugin interface { PluginInfo() *core.PluginInfo Init() (Config, error) Cleanup() Type() Type }
type StreamConfig ¶
Click to show internal directories.
Click to hide internal directories.