plugins

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableAllPlugins

func DisableAllPlugins()

func EnableAllPlugins

func EnableAllPlugins()

Types

type Plugin

type Plugin struct {
	Name      string
	Version   string
	OnEnable  func()
	OnDisable func()
	// contains filtered or unexported fields
}

func GetPlugin

func GetPlugin(name, version string) (*Plugin, bool)

func (*Plugin) Lookup added in v1.1.1

func (plugin *Plugin) Lookup(name string) (plugin.Symbol, error)

Jump to

Keyboard shortcuts

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