clipboard

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clipboard

type Clipboard interface {
	Write(str string) error
	Read() (string, error)
}

type ClipboardRW

type ClipboardRW struct{}

func (*ClipboardRW) Read

func (rw *ClipboardRW) Read() (string, error)

func (*ClipboardRW) Write

func (rw *ClipboardRW) Write(str string) error

type MockClipboardRW

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

func (*MockClipboardRW) Read

func (rw *MockClipboardRW) Read() (string, error)

func (*MockClipboardRW) Write

func (rw *MockClipboardRW) Write(str string) error

Jump to

Keyboard shortcuts

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