Documentation ¶
Index ¶
- type BodyFileCopy
- type BodyFileMove
- type BodyFileRename
- type BodyFolder
- type BodyMatter
- type BodyShare
- type BodyShareDraw
- type BodyToken
- type BodyUserCreation
- type BodyUserPassword
- type BodyUserPatch
- type BodyUserProfile
- type BodyUserStorage
- type QueryFiles
- type QueryFolder
- type QueryPage
- type QueryPage2
- type QueryRecycle
- type QueryShareMatters
- type QueryUser
- type StorageBody
- type StorageQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BodyFileCopy ¶
type BodyFileCopy struct {
NewPath string `json:"path" binding:"required"`
}
type BodyFileMove ¶
type BodyFileMove struct {
NewDir string `json:"dir"`
}
type BodyFileRename ¶
type BodyFileRename struct {
NewName string `json:"name" binding:"required"`
}
type BodyFolder ¶
type BodyMatter ¶
type BodyShareDraw ¶
type BodyShareDraw struct {
}type BodyUserCreation ¶
type BodyUserPassword ¶
type BodyUserPatch ¶
type BodyUserProfile ¶
type BodyUserStorage ¶
type BodyUserStorage struct {
Max uint64 `json:"max"`
}
type QueryFiles ¶
type QueryFolder ¶
type QueryPage2 ¶
type QueryRecycle ¶
type QueryShareMatters ¶
type QueryShareMatters struct {}
type QueryUser ¶
type QueryUser struct { QueryPage2 Email string `form:"email"` }
type StorageBody ¶
type StorageBody struct { Mode int8 `json:"mode" binding:"required"` Name string `json:"name" binding:"required"` Bucket string `json:"bucket" binding:"required"` Provider string `json:"provider" binding:"required"` Endpoint string `json:"endpoint" binding:"required"` AccessKey string `json:"access_key" binding:"required"` SecretKey string `json:"secret_key" binding:"required"` Title string `json:"title"` IDirs string `json:"idirs"` // internal dirs CustomHost string `json:"custom_host"` RootPath string `json:"root_path"` FilePath string `json:"file_path"` PublicRead bool `json:"public_read"` }
func (*StorageBody) Model ¶
func (b *StorageBody) Model() *model.Storage
type StorageQuery ¶
Click to show internal directories.
Click to hide internal directories.