middleware/infohash: move prefix to within package

Let middlewares own their prefixes, makes it simpler
to manage for us.
This commit is contained in:
Josh de Kock
2016-04-06 02:36:00 +01:00
parent d139335111
commit d4099a5abf
5 changed files with 14 additions and 14 deletions
-3
View File
@@ -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.