Documentation ¶ Index ¶ func SendFile(fileName string, dirPath string) type JobStatus Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SendFile ¶ func SendFile(fileName string, dirPath string) Types ¶ type JobStatus ¶ type JobStatus struct { Status string `json:"status"` Progress int `json:"progress"` RemainingTime string `json:"remainingTime"` // Add this new field } JobStatus is a local representation of the server's status struct. Source Files ¶ View all Source files sendFile.go Click to show internal directories. Click to hide internal directories.