mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-27 17:48:11 -07:00
scrape+stats foundation; restructuring
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ func New(conf *config.Storage) (Storage, error) {
|
||||
}
|
||||
|
||||
type Storage interface {
|
||||
Shutdown() error
|
||||
Close() error
|
||||
|
||||
FindUser(passkey string) (*User, bool, error)
|
||||
FindTorrent(infohash string) (*Torrent, bool, error)
|
||||
|
||||
Reference in New Issue
Block a user