Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BinaryPlugin ¶
type BinaryPlugin struct { // Where to read input In io.Reader // Where to write output Out io.Writer // Write to write error information Err io.Writer // contains filtered or unexported fields }
BinaryPlugin is run via an executable binary.
func NewBinaryPlugin ¶
func NewBinaryPlugin(path string) *BinaryPlugin
func (BinaryPlugin) Run ¶
func (bp BinaryPlugin) Run(args []string) error
type PathHandler ¶
type PathHandler struct {
// contains filtered or unexported fields
}
PathHandler attempts to load a plugin from the system path.
func NewPathHandler ¶
func NewPathHandler(prefix string) *PathHandler
Click to show internal directories.
Click to hide internal directories.