Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Link ¶
type Link struct { Hash string `json:"hash" storm:"id,index"` Path string `json:"path" storm:"index"` UserID uint `json:"userID"` Expire int64 `json:"expire"` }
Link is the information needed to build a shareable link.
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is a storage.
func NewStorage ¶
func NewStorage(back StorageBackend) *Storage
NewStorage creates a share links storage from a backend.
func (*Storage) GetPermanent ¶
GetPermanent wraps a StorageBackend.GetPermanent
Click to show internal directories.
Click to hide internal directories.