package
0.1.2
Repository: https://github.com/gophergala2016/sendto.git
Documentation: pkg.go.dev

# Functions

DecryptFiles decrypts then unzips a file using a private key and returns the path of the resulting file/folder on success zip step should be optional TODO.
DownloadData retrieves a file from the server and saves contents at filePath.
EncryptFiles zips then encrypts our arguments (files or folders) using a public key.
LoadConfig reads or creates our config file at ~/.sendto/config.
LoadKey loads the key associated with this username, first by loooking at ~/.sendto/users/recipient/key.pub or if that fails by fetching it from the internet and saving at that location it returns the path of the downloaded key file.
ParsePublicKey parses the given public key file.
PostData sends data to the server.
SaveConfig saves our config out to a file at ~/.sendto/config.

# Variables

Config holds our client config.