Discover Packages
github.com/go-snart/plug
package
module
Version:
v0.5.3
Opens a new window with list of versions in this module.
Published: Nov 24, 2020
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 2 modules, 2 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
plug
Plugin system for Snart.
Expand ▾
Collapse ▴
Documentation
¶
Package plug provides plugin functionality for Snart.
Dirs is a list of directories to search for Plugs.
ErrNoPlug occurs when a named Plug cannot be found.
Base is a Plug that provides stub functionality to be embedded into other Plugs.
Gamers returns additional gamer.Gamers to be added to the Queue.
Intents returns additional Intents to be ORed in.
PlugDB loads the given db.DB into the Base.
PlugErr loads the given error channel into the Base.
PlugRoute loads the given Route into the Base.
PlugState loads the given State into the Base.
Unload removes all of the Plug's associations.
Plug provides all the components of a Snart plugin.
Load loads and returns the named Plug.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.