Directories ¶
Path | Synopsis |
---|---|
AUTOMATION ┌──────┐ ┌──────┐ ┌──────┐ │ TASK │ │ TASK │ │ TASK │ └──────┘ └──────┘ └──────┘ ...
|
AUTOMATION ┌──────┐ ┌──────┐ ┌──────┐ │ TASK │ │ TASK │ │ TASK │ └──────┘ └──────┘ └──────┘ ... |
Package cache provide a Cache interface and some implement engine Usage: import( "github.com/astaxie/beego/cache" ) bm, err := cache.NewCache("memory", `{"interval":60}`) Use it like this: bm.Put("astaxie", 1, 10 * time.Second) bm.Get("astaxie") bm.IsExist("astaxie") bm.Delete("astaxie") more docs http://beego.me/docs/module/cache.md
|
Package cache provide a Cache interface and some implement engine Usage: import( "github.com/astaxie/beego/cache" ) bm, err := cache.NewCache("memory", `{"interval":60}`) Use it like this: bm.Put("astaxie", 1, 10 * time.Second) bm.Get("astaxie") bm.IsExist("astaxie") bm.Delete("astaxie") more docs http://beego.me/docs/module/cache.md |
Click to show internal directories.
Click to hide internal directories.