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:"-"` types.BaseModel }
func (*Directory) AppendChildren ¶
AppendChildren 添加子节点
type DirectoryClosure ¶
type DirectoryLimit ¶
type Export ¶
type Export struct { UserId uint32 `json:"userId" gorm:"column:user_id"` DepartmentId uint32 `json:"departmentId" gorm:"column:department_id"` Scene string `json:"scene" gorm:"column:scene"` Name string `json:"name" gorm:"column:name"` Size uint32 `json:"size" gorm:"column:size"` Sha string `json:"sha" gorm:"column:sha"` Src string `json:"src" gorm:"column:src"` 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:"-"` types.BaseModel }
type File ¶
type File struct { DirectoryId uint32 `json:"directoryId" gorm:"column:directory_id"` Name string `json:"name" gorm:"column:name"` 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"` Src string `json:"src" gorm:"column:src"` Status string `json:"status" gorm:"column:status"` UploadId string `json:"uploadId" gorm:"column:upload_id"` ChunkCount uint32 `json:"chunkCount" gorm:"column:chunk_count"` Url string `json:"url" gorm:"-"` types.BaseModel }
Click to show internal directories.
Click to hide internal directories.