Documentation ¶
Overview ¶
Package app is the main package for the application.
Index ¶
Constants ¶
View Source
const ( // ErrFileExists is the error returned when the file already exists. ErrFileExists xerrors.Error = "file already exists" // ErrUnexpectedStatusCode is the error returned when the status code is not 200. ErrUnexpectedStatusCode xerrors.Error = "unexpected status code" )
View Source
const ErrFileNotFound xerrors.Error = "failed to delete file"
ErrFileNotFound is returned when the file is not found.
Variables ¶
This section is empty.
Functions ¶
func DeleteAction ¶
func DeleteAction(c *cli.Context) error
DeleteAction is the action for the delete command.
func DownloadAction ¶
func DownloadAction(c *cli.Context) error
DownloadAction is the action for the download command.
func ListAction ¶
func ListAction(c *cli.Context) error
ListAction is the action for the list command.
func UploadAction ¶
func UploadAction(c *cli.Context) error
UploadAction is the action for the upload command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.