Documentation ¶
Overview ¶
Package files contains structures and methods for listing or deleting uploaded files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileManager ¶
type FileManager interface { ListFiles(inbox bool) (*[]File, error) DeleteFile(fileName string) error }
FileManager interface provides method for managing uploaded files.
func NewFileManager ¶
func NewFileManager(client *requests.Client) (FileManager, error)
NewFileManager constructs FileManager using requests.Client.
type FolderNotFoundError ¶ added in v1.1.3
type FolderNotFoundError struct {
Msg string
}
Represents an error message to handle a missing or empty folder
func (*FolderNotFoundError) Error ¶ added in v1.1.3
func (e *FolderNotFoundError) Error() string
Returns the error message in FolderNotFoundError.
Click to show internal directories.
Click to hide internal directories.