复制项目
This commit is contained in:
9
pkg/common/storage/model/cache.go
Normal file
9
pkg/common/storage/model/cache.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type Cache struct {
|
||||
Key string `bson:"key"`
|
||||
Value string `bson:"value"`
|
||||
ExpireAt *time.Time `bson:"expire_at"`
|
||||
}
|
||||
Reference in New Issue
Block a user