plugin

package
v0.0.0-...-111214b Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManager

func NewManager() *manager

Types

type Action

type Action interface {
	Id() string
	Name() string
	Description() string
}

type Plugin

type Plugin interface {
	Do(action string, payload []byte) ([]byte, error)
	Actions() []Action
	Name() string
	Category() string
	Description() string
	Id() string
	Author() string
	Version() string
}

type PluginSelector

type PluginSelector interface {
	Select(id string) (Plugin, error)
}

Jump to

Keyboard shortcuts

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