clipboard

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 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) IsSetup added in v0.1.1

func (c Clipboard) IsSetup() bool

func (Clipboard) KeepSort added in v0.1.4

func (Clipboard) KeepSort() bool

func (Clipboard) Name

func (c Clipboard) Name() string

func (Clipboard) Placeholder added in v0.1.1

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

func (*Clipboard) SetupData added in v0.1.1

func (c *Clipboard) SetupData(cfg *config.Config)

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