Documentation ¶
Index ¶
Constants ¶
View Source
const ( XClip = "xclip" XSel = "xsel" WlClipboard = "wl-clipboard" Termux = "termux" WindowsNT10 = "nt10" MasOsStd = "masos-std" )
Variables ¶
View Source
var ErrUnimplementedClipboardManager = errors.New("unimplemented clipboard wrapper")
Functions ¶
This section is empty.
Types ¶
type ThreadSafe ¶
func NewThreadSafe ¶
func NewThreadSafe() *ThreadSafe
func (*ThreadSafe) Get ¶
func (t *ThreadSafe) Get() ([]byte, error)
func (*ThreadSafe) Name ¶
func (t *ThreadSafe) Name() string
func (*ThreadSafe) Set ¶
func (t *ThreadSafe) Set(data []byte) error
Click to show internal directories.
Click to hide internal directories.