mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-09 10:08:11 -07:00
middleware/infohash: move prefix to within package
Let middlewares own their prefixes, makes it simpler to manage for us.
This commit is contained in:
@@ -6,9 +6,6 @@ package store
|
||||
|
||||
import "fmt"
|
||||
|
||||
// PrefixInfohash is the prefix to be used for infohashes.
|
||||
const PrefixInfohash = "ih-"
|
||||
|
||||
var stringStoreDrivers = make(map[string]StringStoreDriver)
|
||||
|
||||
// StringStore represents an interface for manipulating strings.
|
||||
|
||||
Reference in New Issue
Block a user