clipboard

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 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) Refresh added in v0.0.93

func (c Clipboard) Refresh()

func (Clipboard) Setup

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

func (Clipboard) SwitcherOnly added in v0.1.0

func (c Clipboard) SwitcherOnly() 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