plugins

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const PluginModelVersion = "v1.0.0"

Variables

View Source
var (
	AnigoFolderName = "anigo"
)
View Source
var (
	PluginsFolderName = "plugins"
)

Functions

func FilterValidPlugins

func FilterValidPlugins(ss []plugins.Response) map[string]plugins.Response

func Init

func Init[T interface{}](root string, symName string) (data []*T)

func Install

func Install(path string, plugin plugins.Response)

func Installer

func Installer(path string, url string) (err error)

func Load

func Load[T interface{}](folder string, symName string) (data []*T)

func MultiInstall

func MultiInstall(path string, plugins []plugins.Response)

func Open

func Open[T interface{}](path string, symName string) (data *T, err error)

func Request

func Request() (_ map[string]plugins.Response, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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