Add redis
This commit is contained in:
6
type.go
6
type.go
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user