clipboard

package module
v0.0.0-...-dadf6e2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: MIT Imports: 13 Imported by: 1

README

clipboard

Local and Cloud Clipboard for micro-ide

If you don't know mi-ide: visit https://github.com/hanspr/mi-ide

This clipboard application is to allow copy paste between different remote terminals

Local: Allows copy paste in same server

Cloud: Allows copy paste from different servers

Documentation

Overview

Package clipboard read/write on clipboard

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecriptData

func DecriptData(key, ecdata string) string

func EncriptData

func EncriptData(key, data string) string

Types

type Clipboard

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

func New

func New() *Clipboard

func (*Clipboard) AppendTo

func (c *Clipboard) AppendTo(text *string, location string)

func (*Clipboard) ChangeCloudPassword

func (c *Clipboard) ChangeCloudPassword(newpass string) string

func (*Clipboard) CloudDisabled

func (c *Clipboard) CloudDisabled() bool

func (*Clipboard) ReadFrom

func (c *Clipboard) ReadFrom(location, cmd string) string

func (*Clipboard) ResetCloudService

func (c *Clipboard) ResetCloudService() string

func (*Clipboard) SetCloudPath

func (c *Clipboard) SetCloudPath(url, apikey, apipass, secret string) error

func (*Clipboard) SetLocalPath

func (c *Clipboard) SetLocalPath(path string)

func (*Clipboard) SetUpCloudService

func (c *Clipboard) SetUpCloudService() string

func (*Clipboard) WriteTo

func (c *Clipboard) WriteTo(text *string, location, cmd string) string

Jump to

Keyboard shortcuts

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