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

139 Commits

Author SHA1 Message Date
liuchun
48ec7f736e fix GetMulti bug 2016-03-06 14:46:13 +08:00
liuchun
292d8f2c00 add ssdb cache adapter 2016-03-06 13:17:16 +08:00
astaxie
61e9dc74c9 make sure the memcache testing success 2016-01-26 00:27:02 +08:00
astaxie
089242eda0 memcache test mulit return map has no sequence 2016-01-18 00:36:05 +08:00
astaxie
f925bb9058 golint all the files 2016-01-18 00:18:21 +08:00
astaxie
9adf20d72e gofmt -s 2016-01-17 23:57:07 +08:00
astaxie
b90a28bafb Merge pull request #1546 from youngsterxyf/develop
fix #1530
2016-01-12 20:01:51 +08:00
astaxie
dc278da17c fix the sqlite3 & cache sleep 11 second 2016-01-08 23:30:19 +08: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
JessonChan
3821b2cb26 createdTime typo fixed 2016-01-07 09:37:50 +08:00
JessonChan
8aed4c13d7 isExist func will check if the value is expired 2016-01-07 09:36:23 +08:00
JessonChan
6465dbd703 no more goroutine ,i will be GCed at a gc goroutine 2016-01-07 09:28:40 +08:00
JessonChan
98e0626f0c rename vals 2016-01-07 09:25:06 +08:00
JessonChan
b0b9812de6 extract a expire fun 2016-01-07 09:13:47 +08:00
JessonChan
eff200e014 modify as xuxiaohei suggest
https://github.com/astaxie/beego/issues/1259
2016-01-07 09:08:00 +08:00
JessonChan
8832334d6a tiny fix for error description and comment 2016-01-06 15:12:25 +08:00
JessonChan
0b39091292 mem cache put function fixed
when a expire duration==0,it means forever
https://github.com/astaxie/beego/issues/1260
2016-01-06 15:05:29 +08:00
astaxie
a03fa0fb73 improve cache modules. support mulit instances 2016-01-04 10:50:04 +08:00
astaxie
fda28fa2ff fix the conv test case 2015-09-18 12:11:48 +08:00
astaxie
4823a0f114 remove the dead code 2015-09-17 23:47:26 +08:00
astaxie
d7aaf2ebeb golint cache package 2015-09-09 00:15:03 +08:00
Kyoung-chan Lee
fe1ec1675f Fix a wrong url (http 404). 2015-09-06 17:22:33 +09:00
Kyoung-chan Lee
4ad743fc8b Update a outdated information in README. 2015-09-06 17:20:18 +09:00
Kyoung-chan Lee
06ec3a931d Fix a wrong test name. 2015-09-06 17:13:55 +09: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
astaxie
9280683935 Merge pull request #1193 from zieckey/auth
Execute AUTH command when the "password" is configured
2015-06-07 20:34:32 +08:00
weizili.laptop
a58c8180e8 Execute AUTH command when the "password" is configured 2015-06-07 16:26:23 +08:00
astaxie
1d8afdc9c9 gofmt -s & go_vet 2015-05-25 09:10:34 +08:00
astaxie
f988f035e5 redis provider for session and cache support select db 2015-02-16 21:56:32 +08:00
astaxie
d3ab157915 fix the cache test 2014-12-19 14:40:16 +08:00
kristen1980
77ed151243 Allow absolute path for filesystem cache
Gives more flexibility by making it an absolute path. A relative path can easily be created by the user.
2014-12-07 10:00:35 -07:00
astaxie
db43892fe6 improve the Put #896 2014-10-31 00:28:51 +08:00
Wang Hao
29b60d6058 fixed uninitialized return error if StartAndGC fails 2014-09-03 22:43:06 +08:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie
b1b4dbb0e4 fix the nil judge 2014-08-08 12:02:44 +08:00
astaxie
f4147058fc fix when delete the commentsRouter.go 2014-08-04 17:39:14 +08:00
astaxie
289f050c04 cache: fix comments the return err 2014-08-02 10:12:03 +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
fuxiaohei
a906bf1174 code style simplify 2014-07-12 09:52:15 +08:00
fuxiaohei
0ff058bd25 code style simplify 2014-07-11 10:01:49 +08:00
fuxiaohei
0b1b121db8 code style simplify 2014-07-10 13:38:05 +08:00
fuxiaohei
8683ee7c67 code style simplify 2014-07-10 13:28:54 +08:00
fuxiaohei
007db805be code style simplify 2014-07-10 13:04:18 +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
ef6d9b9a94 session: support memcache interface 2014-05-17 02:26:52 +08:00
astaxie
c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
astaxie
4245521660 fix #576 2014-05-17 02:26:50 +08:00
Donald Zhan
348ff13857 update the error message 2014-05-17 02:26:49 +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
Pengfei Xue
5d02b18db4 register interface to gob automatically 2014-03-12 15:56:04 +08:00
astaxie
3e40041219 Merge pull request #468 from cloudaice/patch-1
Update README.md
2014-01-16 17:28:13 -08:00
项超
7d5ee0d692 Update README.md 2014-01-17 00:17:43 +08:00
Pengfei Xue
cb55009c8b remove mutex 2014-01-10 20:31:43 +08:00
Pengfei Xue
b64e70e7df use connection pool for redis cache 2014-01-10 18:31:15 +08:00
Pengfei Xue
0b42e5573b align memcache operations with redis 2014-01-09 18:50:30 +08:00
Pengfei Xue
a369b15ef2 reset cache connection to nil, if err isio.EOF
* this will support auto-connection
2014-01-09 18:49:18 +08:00
astaxie
480aa521e5 fix #430 2014-01-01 20:50:06 +08:00
傅小黑
a1f6039d82 gofmt code 2013-12-24 21:59:00 +08:00
傅小黑
5b1afcdb5a add timeout description for file and memory cache. 2013-12-24 21:56:48 +08:00
傅小黑
f96eec6dea fix a code broken when documenting 2013-12-22 15:31:49 +08:00
傅小黑
4037f952ec fix a code broken when documenting 2013-12-22 15:23:43 +08:00
傅小黑
8b0929b4bc add comments in cache package files. 2013-12-22 13:35:02 +08:00
slene
764bbd9897 #390 should use filepath.Dir instead of path.Dir for. 2013-12-19 19:04:57 +08:00
mingqi.zhou
68f2a5ddc7 add convertor for cache 2013-12-13 10:00:24 +08:00
astaxie
34ba7a8e6c update file cache 2013-12-10 14:10:22 +08:00
astaxie
3c91360d72 dictinct system pkg and third pkg 2013-12-03 21:37:39 +08:00
astaxie
a0dff9148a change third repo from other to beego 2013-11-21 22:19:19 +08:00
astaxie
c5eabcf469 add file cache, thanks to gouki 2013-11-18 11:22:06 +08:00
astaxie
bf836a2126 fix #233
thanks for the good suggestion
2013-09-30 11:30:22 +08:00
slene
8e8d39d3cb fix memory cache Put method should set value when key exist. 2013-09-13 18:04:22 +08:00
astaxie
0833d4baf8 fix #132 2013-08-09 22:19:05 +08:00
astaxie
64ef8ad62b fix new version for memcahe client 2013-08-06 16:04:35 +08:00
astaxie
7f4ad7ff46 fix #91 2013-07-16 19:05:44 +08:00
astaxie
174298b497 fix cache's bug expird is not changed by get method 2013-07-04 13:02:11 +08:00
Dobrosław Żybort
b68a37a115 Some updates to cache README 2013-06-20 13:58:35 +02:00
Dobrosław Żybort
b886ed59a5 Update cache docs 2013-06-20 14:37:26 +03:00
astaxie
6c56a73b69 check expird second 2013-04-22 21:49:34 +08:00
astaxie
5f36a3ae4a fix when there's no config 2013-04-22 21:31:23 +08:00
astaxie
fad8100804 add cache module 2013-04-22 18:56:38 +08:00
xiemengjun
d736ac450a modify struct 2012-03-07 20:30:33 +08:00
xiemengjun
85a1e87336 structure 2012-03-05 21:54:50 +08:00