Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserBandwidthQuota ¶
type UserDownload ¶
type UserDownload struct {
gorm.Model
UserID uint `gorm:"index"`
User models.User
UploadID uint `gorm:"index"`
Upload models.Upload
Bytes uint64
IP string `gorm:"index"`
}
func (*UserDownload) TableName ¶
func (u *UserDownload) TableName() string
type UserStorage ¶
type UserStorage struct {
gorm.Model
UserID uint `gorm:"index"`
User models.User
UploadID uint `gorm:"index"`
Upload models.Upload
Bytes uint64
IsAdd bool `gorm:"index"`
IP string `gorm:"index"`
}
func (*UserStorage) TableName ¶
func (u *UserStorage) TableName() string
type UserStorageQuota ¶
Click to show internal directories.
Click to hide internal directories.