clipboard

package
v0.13.26 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 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) Cleanup

func (c Clipboard) Cleanup()

func (*Clipboard) Clear added in v0.12.8

func (c *Clipboard) Clear()

func (*Clipboard) Delete added in v0.10.8

func (c *Clipboard) Delete(entry *util.Entry)

func (Clipboard) Entries

func (c Clipboard) Entries(term string) []*util.Entry

func (*Clipboard) General

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

func (*Clipboard) Refresh

func (c *Clipboard) Refresh()

func (*Clipboard) Setup

func (c *Clipboard) Setup() bool

func (*Clipboard) SetupData

func (c *Clipboard) SetupData()

func (*Clipboard) Update added in v0.12.36

func (c *Clipboard) Update()

type ClipboardItem

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