Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) AddEntry ¶
func (db *DB) AddEntry(ud UploadDescription) error
func (*DB) CheckFileName ¶
func (*DB) GetFiles ¶
func (db *DB) GetFiles() []UploadDescription
func (*DB) StartBackgroundPrune ¶
type UploadDescription ¶
func (*UploadDescription) GetFullName ¶
func (ud *UploadDescription) GetFullName() string
func (*UploadDescription) GetHumanExpiry ¶
func (ud *UploadDescription) GetHumanExpiry() string
func (*UploadDescription) GetHumanSize ¶
func (ud *UploadDescription) GetHumanSize() string
func (*UploadDescription) GetJSON ¶
func (ud *UploadDescription) GetJSON() ([]byte, error)
func (*UploadDescription) GetURL ¶
func (ud *UploadDescription) GetURL() string
Click to show internal directories.
Click to hide internal directories.