services

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistoryProvider

type HistoryProvider interface {
	// Len returns the number of historical items
	Len() int

	// Item returns the historical item at index 'idx', where items are chronologically ordered such that the
	// item at 0 is the oldest item.
	Item(idx int) string

	// PutItem adds an item to the history
	PutItem(item string)
}

type PasteboardProvider added in v0.4.0

type PasteboardProvider interface {
	ReadText() (string, bool)
	WriteText(bts []byte) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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