Directories ¶
Path | Synopsis |
---|---|
access
|
|
session/server
salt cache
|
salt cache |
baselib
|
|
cache
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 implements a LRU cache.
|
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 implements a LRU cache. |
cache/redis
Package redis for cache provider depend on github.com/garyburd/redigo/redis go install github.com/garyburd/redigo/redis Usage: import( _ "github.com/astaxie/beego/cache/redis" "github.com/astaxie/beego/cache" ) bm, err := cache.NewCache("redis", `{"conn":"127.0.0.1:11211"}`) more docs http://beego.me/docs/module/cache.md
|
Package redis for cache provider depend on github.com/garyburd/redigo/redis go install github.com/garyburd/redigo/redis Usage: import( _ "github.com/astaxie/beego/cache/redis" "github.com/astaxie/beego/cache" ) bm, err := cache.NewCache("redis", `{"conn":"127.0.0.1:11211"}`) more docs http://beego.me/docs/module/cache.md |
grpc_util
Package grpc_util is a generated protocol buffer package.
|
Package grpc_util is a generated protocol buffer package. |
grpc_util/middleware/examples/zproto
Package zproto is a generated protocol buffer package.
|
Package zproto is a generated protocol buffer package. |
grpc_util/middleware/recovery2
helper recovery, RecoveryHandlerFunc spit UnaryRecoveryHandlerFunc and StreamRecoveryHandlerFunc
|
helper recovery, RecoveryHandlerFunc spit UnaryRecoveryHandlerFunc and StreamRecoveryHandlerFunc |
grpc_util/service_discovery/examples/proto
Package proto is a generated protocol buffer package.
|
Package proto is a generated protocol buffer package. |
net2/codec
Test codec
|
Test codec |
queue2
Package queue provides a fast, ring-buffer queue based on the version suggested by Dariusz Górecki.
|
Package queue provides a fast, ring-buffer queue based on the version suggested by Dariusz Górecki. |
timer
Package timer provides various enhanced timer functions.
|
Package timer provides various enhanced timer functions. |
biz
|
|
core/account
Package account is a generated protocol buffer package.
|
Package account is a generated protocol buffer package. |
core/phone_call
Package phone_call is a generated protocol buffer package.
|
Package phone_call is a generated protocol buffer package. |
core/user
Package user is a generated protocol buffer package.
|
Package user is a generated protocol buffer package. |
dal/dao/redis_dao
TODO(@benqi): 可以使用如下方法来生成seq - 如果运维能保证redis数据可靠性,可移除数据库seq_updates_ngen的存储 - 可使用[seqsvr](https://github.com/nebula-in/seqsvr)服务来生成seq - 可调研艺龙的序列号生成器 - 直接使用etcd或zk
|
TODO(@benqi): 可以使用如下方法来生成seq - 如果运维能保证redis数据可靠性,可移除数据库seq_updates_ngen的存储 - 可使用[seqsvr](https://github.com/nebula-in/seqsvr)服务来生成seq - 可调研艺龙的序列号生成器 - 直接使用etcd或zk |
Package mtproto is a generated protocol buffer package.
|
Package mtproto is a generated protocol buffer package. |
push
|
|
Click to show internal directories.
Click to hide internal directories.