clipboard

package
v0.0.0-...-e2e824b Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TEXT = iota
	IMAGE
)

Variables

This section is empty.

Functions

func Decode

func Decode(content string) ([]byte, error)

func Encode

func Encode(content []byte) string

Base64 encode content

func StoreClipboard

func StoreClipboard(content string, clipType ClipboardType) error

Types

type ClipboardType

type ClipboardType int

ClipboardType shows the type of the clipboard that is operated

func GetEncodedClipboard

func GetEncodedClipboard() (encodedClipboard string, clipType ClipboardType, err error)

func (ClipboardType) String

func (t ClipboardType) String() string

Jump to

Keyboard shortcuts

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