()
| 9 | // StorageBackend is the interface to implement for a share storage. |
| 10 | type StorageBackend interface { |
| 11 | All() ([]*Link, error) |
| 12 | FindByUserID(id uint) ([]*Link, error) |
| 13 | GetByHash(hash string) (*Link, error) |
| 14 | GetPermanent(path string, id uint) (*Link, error) |
no outgoing calls