plugins

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 8 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

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