Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Directory ¶
type Directory struct {
ParentId uint32 `json:"parentId" gorm:"column:parent_id"`
Name string `json:"name" gorm:"column:name"`
Accept string `json:"accept" gorm:"column:accept"`
MaxSize uint32 `json:"maxSize" gorm:"column:max_size"`
Children []*Directory `json:"children" gorm:"-"`
model.BaseTenantModel
}
func (*Directory) AppendChildren ¶
AppendChildren 添加子节点
type DirectoryClosure ¶
type DirectoryLimit ¶
type Export ¶
type Export struct {
Name string `json:"name" gorm:"column:name"`
Size uint32 `json:"size" gorm:"column:size"`
Sha string `json:"sha" gorm:"column:sha"`
Key string `json:"key" gorm:"column:key"`
Status string `json:"status" gorm:"column:status"`
Reason *string `json:"reason" gorm:"column:reason"`
ExpiredAt int64 `json:"expiredAt" gorm:"column:expired_at"`
Url string `json:"url" gorm:"-"`
model.BaseTenantUserModel
}
type File ¶
type File struct {
Store string `json:"store" gorm:"column:store"`
Type string `json:"type" gorm:"column:type"`
Size uint32 `json:"size" gorm:"column:size"`
Sha string `json:"sha" gorm:"column:sha"`
Key string `json:"key" gorm:"column:key"`
Status string `json:"status" gorm:"column:status"`
UploadId string `json:"uploadId" gorm:"column:upload_id"`
ChunkCount uint32 `json:"chunkCount" gorm:"column:chunk_count"`
model.BaseModel
}
Click to show internal directories.
Click to hide internal directories.