client

package
v0.0.0-...-5027923 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HOST string
View Source
var IsLetter = regexp.MustCompile(`1`).MatchString
View Source
var PASSWD string
View Source
var PORT string
View Source
var ROOT = "filestore/storeclient"
View Source
var UNAME string

Functions

func AllCertificates

func AllCertificates(conn net.Conn)

func AuthenticateClient

func AuthenticateClient(conn net.Conn) error

func AutoSendFiles

func AutoSendFiles(conn net.Conn)

func Autoreserved

func Autoreserved()

func CBCDecrypter

func CBCDecrypter(password string, ciphertext []byte) ([]byte, error)

func CBCEncrypter

func CBCEncrypter(password string, sl []byte) ([]byte, error)

func Calendar

func Calendar()

func CertPasswd

func CertPasswd(conn net.Conn)

func ChooseDir

func ChooseDir() string

func ChooseFile

func ChooseFile() string

func Compare

func Compare() bool

func Configure

func Configure()

func Containers

func Containers()

func CreateCert

func CreateCert(conn net.Conn)

func Download

func Download(conn net.Conn)

func Exit

func Exit(conn net.Conn)

func ListFiles

func ListFiles(conn net.Conn)

func ReadHOST

func ReadHOST() string

func ReadPORT

func ReadPORT() string

func Setting

func Setting()

func Upload

func Upload(conn net.Conn)

func Userfiles

func Userfiles()

Types

type ConfigData

type ConfigData struct {
	IP   string `json:"ip"`
	PORT string `json:"port"`
}

type NewData

type NewData struct {
	Ip   string `json:"ip"`
	Port string `json:"port"`
}

Jump to

Keyboard shortcuts

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