plugin

package
v0.0.0-...-2d763c7 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Plugins = make(map[string]Plugin)
)

Functions

func GetPluginList

func GetPluginList() []string

func LoadPlugins

func LoadPlugins()

func StartPlugins

func StartPlugins()

Types

type Plugin

type Plugin interface {
	Name() string
	Init(settings config.PluginSettings, ds *datastore.DataStore) error
	Run() error
	Exit() error
}

Jump to

Keyboard shortcuts

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