plugin

package
v0.0.0-...-ba7efc3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load[T any](path, symbol string) (T, error)

Types

type Plugin

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

func New

func New(name, version, builtAt, description string) *Plugin

func (*Plugin) BuiltAt

func (p *Plugin) BuiltAt() time.Time

func (*Plugin) Description

func (p *Plugin) Description() string

func (*Plugin) ID

func (p *Plugin) ID() string

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) Version

func (p *Plugin) Version() string

Jump to

Keyboard shortcuts

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