client

package
v0.0.0-...-350b3cb Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 22 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/clientDir"
View Source
var UNAME string

Functions

func AllCertificates

func AllCertificates(conn net.Conn)

func AuthenticateClient

func AuthenticateClient(conn net.Conn) error

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 CheckDate

func CheckDate()

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