实现access_token获取

This commit is contained in:
wenzl committed 2016-09-11 13:16:15 +08:00
1 parent 33f2b2ef60
commit d9075933c1
7 files changed
+195 -4

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package cache
import "time"
//Cache interface
type Cache interface {
Get(key string) interface{}
Set(key string, val interface{}, timeput time.Duration) error
IsExist(key string) bool
Delete(key string) error
}