Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { ID string `gorm:"type:text;primaryKey;default:generate_uid(16)"` Name string `gorm:"type:text;not null"` Type string `gorm:"type:text;not null"` MimeType string `gorm:"type:text;not null"` Path string `gorm:"type:text;index"` Size *int64 `gorm:"type:bigint"` Starred bool `gorm:"default:false"` Depth *int `gorm:"type:integer"` Category string `gorm:"type:text"` Encrypted bool `gorm:"default:false"` UserID int64 `gorm:"type:bigint;not null"` Status string `gorm:"type:text"` ParentID string `gorm:"type:text;index"` Parts *Parts `gorm:"type:jsonb"` ChannelID *int64 `gorm:"type:bigint"` CreatedAt time.Time `gorm:"default:timezone('utc'::text, now())"` UpdatedAt time.Time `gorm:"default:timezone('utc'::text, now())"` }
type Upload ¶
type Upload struct { UploadId string `gorm:"type:text"` UserId int64 `gorm:"type:bigint"` Name string `gorm:"type:text"` PartNo int `gorm:"type:integer"` PartId int `gorm:"type:integer"` Encrypted bool `gorm:"default:false"` Salt string `gorm:"type:text"` ChannelID int64 `gorm:"type:bigint"` Size int64 `gorm:"type:bigint"` CreatedAt time.Time `gorm:"default:timezone('utc'::text, now())"` }
Click to show internal directories.
Click to hide internal directories.