plugins

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LoadPlugins map[string]HabitablePluginData

Functions

func ResolvePlugins

func ResolvePlugins() (map[string]interface{}, error)

func UsePlugin

func UsePlugin(name string, version string, customLocation ...string)

Types

type HabitablePlugin

type HabitablePlugin interface {
	PluginObject() interface{}
}

type HabitablePluginData

type HabitablePluginData struct {
	Version  string
	Location string
}

Jump to

Keyboard shortcuts

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