command

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MESSAGE_SIZE = 772
	EOT          = '\u0004' // End-Of-Trasmission character
	DELETE       = "del"
	GET          = "get"
	SET          = "set"
	EXPORT       = "exp"
	IMPORT       = "imp"
)

Variables

This section is empty.

Functions

func CreateConnection

func CreateConnection() (*tls.Conn, error)

Create connection with remote server

func Del

func Del(conn net.Conn, cmd *cobra.Command, args []string) error

func Execute

func Execute()

func Export

func Export(conn net.Conn, cmd *cobra.Command) ([]byte, error)

func Get

func Get(conn net.Conn, cmd *cobra.Command, args []string) ([]byte, error)

func Import

func Import(conn net.Conn, cmd *cobra.Command, args []string) error

func Set

func Set(conn net.Conn, cmd *cobra.Command, args []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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