package
module
Version:
v0.0.0-...-a744ab6
Opens a new window with list of versions in this module.
Published: Sep 11, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type APIResponse struct {
Error ClientError `json:"error"`
Success bool `json:"success"`
}
type APITime struct {
AccessTime int `json:"atime"`
CreationTime int `json:"crtime"`
ChangeTime int `json:"ctime"`
ModifiedTime int `json:"mtime"`
}
type Additional struct {
Type string `json:"type"`
Size int64 `json:"size"`
Time APITime `json:"time"`
}
type Client struct {
Auth *authService
List *listService
Upload *uploadService
}
type ClientError struct {
API string
Code int `json:"code"`
}
type ListFile struct {
IsDir bool `json:"isdir"`
Name string `json:"name"`
Path string `json:"path"`
Additional Additional `json:"additional"`
}
type ListShare struct {
IsDir bool `json:"isdir"`
Name string `json:"name"`
Path string `json:"path"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.