clipboard

package
v0.0.70 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ClipboardName = "clipboard"

Variables

This section is empty.

Functions

This section is empty.

Types

type Clipboard

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

func (Clipboard) Entries

func (c Clipboard) Entries(ctx context.Context, term string) []modules.Entry

func (Clipboard) Name

func (c Clipboard) Name() string

func (Clipboard) Prefix

func (c Clipboard) Prefix() string

func (Clipboard) Setup

func (c Clipboard) Setup(cfg *config.Config) modules.Workable

func (Clipboard) SwitcherExclusive added in v0.0.31

func (c Clipboard) SwitcherExclusive() bool

type ClipboardItem added in v0.0.41

type ClipboardItem struct {
	Content string    `json:"content,omitempty"`
	Time    time.Time `json:"time,omitempty"`
	Hash    string    `json:"hash,omitempty"`
	IsImg   bool      `json:"is_img,omitempty"`
}

Jump to

Keyboard shortcuts

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