package
3.2.17+incompatible
Repository: https://github.com/geoinstinct-web/teleport.git
Documentation: pkg.go.dev
# Functions
CreateCommand creates and returns a new Command.
CreateDownloadCommand configures and returns a command used to download a file.
CreateHTTPDownload creates HTTP upload command.
CreateHTTPUpload creates HTTP download command.
CreateUploadCommand configures and returns a command used to upload a file.
ParseSCPDestination takes a string representing a remote resource for SCP to download/upload, like "user@host:/path/to/resource.txt" and returns 3 components of it.
# Structs
Config describes Command configuration settings.
Flags describes SCP command line flags.
HTTPTransferRequest describes HTTP file transfer request.
# Interfaces
Command is an API that describes command operations.
FileInfo is an API that describes methods that provide file information.
FileSystem is an interface that abstracts file system methods used in SCP command functions.