plugin

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

func NewPlugin

func NewPlugin(id umid.UMID, db database.DB) *Plugin

func (*Plugin) GetEntry

func (p *Plugin) GetEntry() *entry.Plugin

func (*Plugin) GetID

func (p *Plugin) GetID() umid.UMID

func (*Plugin) GetMeta

func (p *Plugin) GetMeta() entry.PluginMeta

func (*Plugin) GetOptions

func (p *Plugin) GetOptions() *entry.PluginOptions

func (*Plugin) Initialize

func (p *Plugin) Initialize(ctx types.LoggerContext) error

func (*Plugin) LoadFromEntry

func (p *Plugin) LoadFromEntry(entry *entry.Plugin) error

func (*Plugin) RegisterAttributes

func (p *Plugin) RegisterAttributes() error

func (*Plugin) SetMeta

func (p *Plugin) SetMeta(meta entry.PluginMeta, updateDB bool) error

func (*Plugin) SetOptions

func (p *Plugin) SetOptions(modifyFn modify.Fn[entry.PluginOptions], updateDB bool) (*entry.PluginOptions, error)

Jump to

Keyboard shortcuts

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