clipboard

package
v0.6.159 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EstablishConnection

func EstablishConnection(t *terminal.Terminal, clipboardStore ClipboardStore) *cobra.Command

Step 1

func ForwardPort

func ForwardPort(t *terminal.Terminal, clipboardStore ClipboardStore) *cobra.Command

Step 2

func SaveToClipboard

func SaveToClipboard(output string)

func SendRequest

func SendRequest(address string, message string) error

tcp req

func SendToClipboard

func SendToClipboard(t *terminal.Terminal, clipboardStore ClipboardStore) *cobra.Command

Step 3

Types

type ClipboardStore

type ClipboardStore interface {
	completions.CompletionStore
}

type Config

type Config struct {
	Host string
	Port string
}

Config ...

type Server

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

Server ...

func CreateListener

func CreateListener(config *Config) *Server

New ...

func (*Server) Run

func (server *Server) Run()

Run ...

Jump to

Keyboard shortcuts

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