Add redis

This commit is contained in:
Bel LaPointe
2019-06-19 12:02:07 -06:00
parent 18096443d7
commit 6ac77d247e
5 changed files with 93 additions and 11 deletions

View File

@@ -8,7 +8,9 @@ type Type int
const (
MAP = Type(iota)
REDIS = Type(iota)
BOLT = Type(iota)
COCKROACH = Type(iota)
CACHE = Type(iota)
LEVELDB = Type(iota)
MEMCACHE = Type(iota)
@@ -19,8 +21,12 @@ const (
func (t Type) String() string {
switch t {
case REDIS:
return "redis"
case MAP:
return "map"
case COCKROACH:
return "cockroach"
case BOLT:
return "bolt"
case MINIO: