clipboard

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 13 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) Cleanup added in v0.5.2

func (c Clipboard) Cleanup()

func (Clipboard) Entries

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

func (*Clipboard) General added in v0.5.5

func (c *Clipboard) General() *config.GeneralModule

func (*Clipboard) Refresh added in v0.0.93

func (c *Clipboard) Refresh()

func (*Clipboard) Setup

func (c *Clipboard) Setup(cfg *config.Config) bool

func (*Clipboard) SetupData added in v0.1.1

func (c *Clipboard) SetupData(cfg *config.Config, ctx context.Context)

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