display

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DisplayServer = GetDisplayServer()

Functions

This section is empty.

Types

type DS

type DS interface {
	Runtime() string
	ReadClipboard() string
	CopyText(string)
	CopyImage(string)
	Paste()
	RunListener()
	RunDetachedListener()
	SendPasteKey(string)
}

func GetDisplayServer

func GetDisplayServer() DS

type DarwinDS

type DarwinDS struct {
	// contains filtered or unexported fields
}

func (*DarwinDS) CopyImage

func (dds *DarwinDS) CopyImage(filePath string)

func (*DarwinDS) CopyText

func (dds *DarwinDS) CopyText(text string)

func (*DarwinDS) Paste

func (dds *DarwinDS) Paste()

func (*DarwinDS) ReadClipboard

func (dds *DarwinDS) ReadClipboard() string

func (*DarwinDS) RunDetachedListener

func (dds *DarwinDS) RunDetachedListener()

func (*DarwinDS) RunListener

func (dds *DarwinDS) RunListener()

func (*DarwinDS) Runtime

func (dds *DarwinDS) Runtime() string

func (*DarwinDS) SendPasteKey

func (dds *DarwinDS) SendPasteKey(keybind string)

type WaylandDS

type WaylandDS struct {
	// contains filtered or unexported fields
}

func (*WaylandDS) CopyImage

func (wds *WaylandDS) CopyImage(filePath string)

func (*WaylandDS) CopyText

func (wds *WaylandDS) CopyText(text string)

func (*WaylandDS) Paste

func (wds *WaylandDS) Paste()

func (*WaylandDS) ReadClipboard

func (wds *WaylandDS) ReadClipboard() string

func (*WaylandDS) RunDetachedListener

func (wds *WaylandDS) RunDetachedListener()

func (*WaylandDS) RunListener

func (wds *WaylandDS) RunListener()

func (*WaylandDS) Runtime

func (wds *WaylandDS) Runtime() string

func (WaylandDS) SendPasteKey

func (wds WaylandDS) SendPasteKey(keybind string)

type XDS

type XDS struct {
	// contains filtered or unexported fields
}

func (*XDS) CopyImage

func (xds *XDS) CopyImage(filePath string)

func (*XDS) CopyText

func (xds *XDS) CopyText(text string)

func (*XDS) Paste

func (xds *XDS) Paste()

func (*XDS) ReadClipboard

func (xds *XDS) ReadClipboard() string

func (*XDS) RunDetachedListener

func (xds *XDS) RunDetachedListener()

func (*XDS) RunListener

func (xds *XDS) RunListener()

func (*XDS) Runtime

func (xds *XDS) Runtime() string

func (*XDS) SendPasteKey

func (xds *XDS) SendPasteKey(keybind string)

Jump to

Keyboard shortcuts

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