Help us shape the future of Go! Take the 2026 Go Developer Survey

lclip

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2015 License: MIT Imports: 5 Imported by: 0

README

lclip

cli interface for labeled clipboard

License

MIT License

Author

wara kusabashira227@gmail.com

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPath

func DefaultPath() (string, error)

Types

type Clipboard

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

func NewClipboard

func NewClipboard(path string) (*Clipboard, error)

func NewClipboardWithDefaultPath added in v0.2.0

func NewClipboardWithDefaultPath() (*Clipboard, error)

func (*Clipboard) Close

func (c *Clipboard) Close() error

func (*Clipboard) Delete added in v0.3.0

func (c *Clipboard) Delete(label string) error

func (*Clipboard) Get

func (c *Clipboard) Get(label string) ([]byte, error)

func (*Clipboard) Labels

func (c *Clipboard) Labels() ([]string, error)

func (*Clipboard) Path added in v0.2.0

func (c *Clipboard) Path() string

func (*Clipboard) Set

func (c *Clipboard) Set(label string, data []byte) error

type Variable added in v0.2.0

type Variable struct {
	Label string `db:"pk"`
	Data  []byte
}

Directories

Path Synopsis
cmd
lclip command

Jump to

Keyboard shortcuts

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