1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-24 10:30:55 +00:00
Commit Graph

34 Commits

Author SHA1 Message Date
Ming Deng
30eb889a91 Format code 2020-07-22 23:00:06 +08:00
jianzhiyao
5c9cc805a1 make redis client idle timeout configurable 2020-06-28 22:20:46 +08:00
huija
f70fd5babf add comments on Scan func 2020-06-23 12:32:26 +08:00
huija
f2bae3e367 add UT for Scan function 2020-06-19 22:55:40 +08:00
huija
40181c1042 Update redis.go
use `scan` instead of `keys`
2020-06-19 14:21:12 +08:00
Ruben Cid
e4605f232b Support redis URI 2018-09-26 18:05:09 +02:00
astaxie
6d84db1e93
Revert "hible" 2018-07-31 20:07:03 +08:00
hible
c7c0b01ec5 hible
cache add function
// IncrBy increase counter by num.
IncrBy(key string, num int)
// DecrBy decrease counter by num.
DecrBy(key string, num int)
2018-07-31 17:19:09 +08:00
astaxie
9d526dfd50
Merge pull request #3100 from godcong/master
change github.com/garyburd/redigo to newest branch github.com/gomodul…
2018-04-20 19:40:30 +08:00
godcong
886fefe738 change github.com/garyburd/redigo to newest branch github.com/gomodule/redigo 2018-03-26 16:59:01 +08:00
Pieter Callewaert
59fd3952b7 bug: restore the default value 2017-12-26 11:48:34 +01:00
Pieter Callewaert
7fd80e6aa1 feat(redis.go): make MaxIdle configurable 2017-12-26 11:48:08 +01:00
xhzhang
4e8f212069 refactor: #1899 redis cache module refactor
redis cache module refactor, to view the discussion:

  https://github.com/astaxie/beego/issues/1899
2017-05-20 19:56:38 +08:00
Sergey Lanzman
37c1ffc57a add go simple support 2017-03-17 20:22:20 +02:00
youngsterxyf
0b0904db13 for issue #1530, accept @JessonChan's suggestion 2016-01-08 20:16:58 +08:00
youngsterxyf
bb43d3a78c fix #1530 2016-01-08 13:47:14 +08:00
astaxie
a03fa0fb73 improve cache modules. support mulit instances 2016-01-04 10:50:04 +08:00
astaxie
d7aaf2ebeb golint cache package 2015-09-09 00:15:03 +08:00
astaxie
499ee09d4b Merge pull request #1194 from zieckey/GetMulti
Add GetMulti method for Cache interface
2015-06-08 08:36:20 +08:00
weizili.build17
970f0b460c Add GetMulti method for Cache interface 2015-06-07 21:33:01 +08:00
weizili.laptop
a58c8180e8 Execute AUTH command when the "password" is configured 2015-06-07 16:26:23 +08:00
astaxie
f988f035e5 redis provider for session and cache support select db 2015-02-16 21:56:32 +08:00
astaxie
db43892fe6 improve the Put #896 2014-10-31 00:28:51 +08:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie
d7090689e8 cache: change the memcache &redis driver
change the memcache to the newest
2014-07-24 22:54:56 +08:00
fuxiaohei
77c40e6f7b code style simplify 2014-07-12 15:51:47 +08:00
astaxie
e635e274d4 Merge branch 'master' into develop 2014-07-09 08:43:37 +08:00
reterVision
b6c4e27a75 Adjust the action order in Put function. 2014-07-05 22:30:51 +08:00
reterVision
2933d1fedd Make redis cache timeout not trivial.
- Instead of using HASH for all the caches, use HASH + normal KEYs.
- HASH being used as a collection of all KEYs, this is useful when
  application wants to clear all keys.
2014-07-05 22:27:31 +08:00
astaxie
fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
astaxie
0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie
c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
slene
f4d62d3193 beego: fix dependency of cache / session sub package 2014-04-04 08:31:22 +08:00
slene
d58e9e6e12 beego: move dependency module to sub package 2014-04-03 23:41:48 +08:00