增加vendor
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
package cache
|
||||
|
||||
import "time"
|
||||
|
||||
// Cache interface
|
||||
type Cache interface {
|
||||
Get(key string) interface{}
|
||||
Set(key string, val interface{}, timeout time.Duration) error
|
||||
IsExist(key string) bool
|
||||
Delete(key string) error
|
||||
}
|
||||
Reference in New Issue
Block a user