lot of new functionalities
This commit is contained in:
11
core/utils/storage/cache.go
Executable file
11
core/utils/storage/cache.go
Executable file
@@ -0,0 +1,11 @@
|
||||
package storage
|
||||
|
||||
import (
|
||||
"github.com/spf13/viper"
|
||||
)
|
||||
|
||||
type CacheHandler KVHandler
|
||||
|
||||
func NewCacheHandler(cfg *viper.Viper) (CacheHandler, error) {
|
||||
return NewKVHandler(cfg)
|
||||
}
|
||||
Reference in New Issue
Block a user