Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalManager = &PluginManager{ plugins: make(map[string]*plugin.Plugin), errors: make(map[string]error), }
Functions ¶
This section is empty.
Types ¶
type CompileResult ¶
func Compile ¶
func Compile(pkg Package) CompileResult
func CompileAll ¶
func CompileAll(packages []Package) []CompileResult
type LoadResult ¶
type LoadResult struct {
Package Package
Loaded *LoadedPlugin
Success bool
Error error
}
func Load ¶
func Load(pluginPath string, pkg Package) LoadResult
func LoadAll ¶
func LoadAll(compileResults []CompileResult) []LoadResult
type LoadedPlugin ¶
func (*LoadedPlugin) GetRequires ¶
func (l *LoadedPlugin) GetRequires() []api.RequireInfo
type PluginManager ¶ added in v0.0.8
type PluginManager struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.