pluginmanager

package
v0.0.0-...-2017d89 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2018 License: Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginDescriptor

type PluginDescriptor struct {
	Info PluginInfo
	Path string
}

type PluginManager

type PluginManager struct {
	Plugins []PluginDescriptor
	// contains filtered or unexported fields
}
var PM *PluginManager

func NewPluginManager

func NewPluginManager(path string, r *mux.Router, d *gorm.DB) *PluginManager

func (*PluginManager) GetCount

func (pm *PluginManager) GetCount() int

func (*PluginManager) GetPath

func (pm *PluginManager) GetPath() string

func (*PluginManager) LoadPlugins

func (pm *PluginManager) LoadPlugins() (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL