plugins

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Title   = "title"
	Message = "message"

	SaveOp    = "save"
	LoadOp    = "load"
	BrowseOp  = "browse"
	Operation = "operation"

	FileTypeFilterDesc = "file_type_filter_desc"
	FileTypeFilter     = "file_type_filter"

	StartDir = "start_dir"
)

Variables

View Source
var ErrInvalidOperation = errors.New("invalid operation")

Functions

This section is empty.

Types

type Clipboard added in v0.2.4

type Clipboard struct{}

Clipboard plugin

func (Clipboard) GetFuncs added in v0.2.4

func (p Clipboard) GetFuncs() map[string]app.Func

Get plugin functions

func (Clipboard) GetName added in v0.2.4

func (p Clipboard) GetName() string

Get plugin name

func (Clipboard) GetVersion added in v0.2.4

func (p Clipboard) GetVersion() string

Get plugin version

func (Clipboard) Init added in v0.2.4

func (p Clipboard) Init(a app.App)

Do nothing

type Dialog added in v0.2.4

type Dialog struct{}

Dialog plugin

func (Dialog) GetFuncs added in v0.2.4

func (p Dialog) GetFuncs() map[string]app.Func

Get plugin functions

func (Dialog) GetName added in v0.2.4

func (p Dialog) GetName() string

Get plugin name

func (Dialog) GetVersion added in v0.2.4

func (p Dialog) GetVersion() string

Get plugin version

func (Dialog) Init added in v0.2.4

func (p Dialog) Init(a app.App)

Do nothing

type Notify added in v0.2.5

type Notify struct{}

Notify plugin.

func (*Notify) GetFuncs added in v0.2.5

func (p *Notify) GetFuncs() map[string]app.Func

GetFuncs returns plugin functions.

func (Notify) GetName added in v0.2.5

func (p Notify) GetName() string

GetName returns plugin name.

func (Notify) GetVersion added in v0.2.5

func (p Notify) GetVersion() string

GetVersion returns plugin version.

func (*Notify) Init added in v0.2.5

func (p *Notify) Init(a app.App)

Init the plugin.

Jump to

Keyboard shortcuts

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