package
Version:
v0.0.0-...-affaa53
Opens a new window with list of versions in this module.
Published: Jun 28, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Error struct {
Message string `json:"message"`
FileName string `json:"omitempty,fileName"`
}
type Response struct {
UploadedFiles []Result `json:"uploadedFiles,omitempty"`
Errors []Error `json:"errors,omitempty"`
}
type Result struct {
FileName string `json:"fileName"`
RemotePath string `json:"remotePath"`
Bucket string `json:"bucket"`
Size int64 `json:"size"`
}
type UploadInput struct {
PrivateFiles []*os.File
PublicFiles []*os.File
Directory string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.