Deng Ming
d216cb76fa
cache: fix typo and optimize the naming
2023-05-27 13:21:03 +08:00
cui fliter
53d9e8be69
fix some comments ( #5194 )
...
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-05-21 13:48:06 +08:00
Stone-afk
0002ad0fb4
bugfix: protect field access with lock to avoid possible data race ( #5211 )
2023-05-18 21:22:41 +08:00
hookokoko
109361078d
Bloom filter cache ( #5126 )
...
* feature: add bloom filter cache
2022-12-26 23:53:27 +08:00
Deng Ming
5ade9fa025
format code
2022-12-23 11:31:00 +08:00
Stone-afk
f0a59fe984
feature add singleflight cache ( #5119 )
2022-12-20 16:32:26 +08:00
hookokoko
1c0cd9838a
feature: add write though for cache mode ( #5117 )
...
* feature: add writethough for cache mode
2022-12-17 10:25:39 +08:00
Stone-afk
bd99d27a4f
feature extend readthrough for cache module ( #5116 )
...
* feature 增加readthrough
2022-12-15 21:24:17 +08:00
Regan Yue
493e7db20b
refine comments for for four files ( #5011 )
...
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
* Update db.go
2022-07-09 18:10:19 +08:00
Kevin Tsang
fa4cc95fd4
fix: add seconds definition
2022-06-29 14:13:52 +08:00
Kevin Tsang
178440bcdd
add WithOffsetFunc to define private RandomExpireCache.offset field
2022-06-29 14:11:42 +08:00
kevinzeng
6edee6c9c9
improving the concurrency performance of random value calculation
2022-06-28 13:17:48 +08:00
kevinzeng
4f8e984df6
fix: expose the Offset property to allow external modifications
2022-06-28 13:17:00 +08:00
auual
e36eb1a3c5
add: generic cache random time offset expired.
2022-06-12 22:20:11 +08:00
Deng Ming
3e886f71ca
replace beego.me with beego.vip
2021-11-29 21:29:29 +08:00
LinXiaoYi
1252b520ae
fix sonar problems about regular expression
2021-06-26 00:35:34 +08:00
loyalsoldier
a87f8ec82a
Fix lint and format code in client/cache dir
2021-06-06 20:45:00 +08:00
t29kida
de65d82701
fix sonar problem
...
* replace min limit value with const values
* remove duplicated testcase and add testcase
* put together switch case statement
* fill empty block of code
2021-05-31 18:38:37 +09:00
loyalsoldier
2b7401109f
Chore: format code
2021-05-19 22:27:17 +08:00
shubhendra
644291c028
Replace time.Now().Sub with time.Since
2021-02-25 15:58:45 +05:30
Ming Deng
9da720d8ba
Merge develop
2021-02-13 22:19:52 +08:00
Ming Deng
433763fca0
Define error code for cache module
2021-02-12 21:54:16 +08:00
Ming Deng
1c69214142
Error code for cache module
2021-02-10 19:49:49 +08:00
Ming Deng
4855146ac6
Fix log format bug
2021-02-05 23:12:42 +08:00
Ming Deng
62aa0188c4
fix sonar Part3
2021-02-04 16:53:27 +08:00
Jihoon Seo
113b90531c
Apply goimports' modifications
2021-01-28 13:42:03 +09:00
Jihoon Seo
2bb6c45786
Update beego pkg paths
2021-01-28 13:35:38 +09:00
Ming Deng
884677f3a9
Merge pull request #4345 from AllenX2018/fix-issue-4344
...
Fix issue #4344
2020-12-16 00:25:55 +08:00
Ming Deng
d4da82ef77
format code
2020-12-14 12:34:55 +08:00
Ming Deng
7bc6010604
rename to v2
2020-12-14 11:12:00 +08:00
Ming Deng
a70f7fc920
using new organization
2020-12-13 23:09:19 +08:00
AllenX2018
e65a390bdb
add testcases of file cache & memory cache
2020-12-12 18:04:47 +08:00
AllenX2018
f6d5b8fe81
fix bug of incr of cacl_utils.go
2020-12-12 18:02:59 +08:00
AllenX2018
404e3505b2
add testcases of calc_utils.go
2020-12-12 17:51:02 +08:00
AllenX2018
4b10cda1d6
add utils of incr&decr for cache
2020-12-12 17:50:36 +08:00
AllenX2018
db785479ab
fix issue #4331
...
1. Modify Incr&Decr for file cache
2. Add different type of integer testcases for Incr&Decr
2020-12-01 17:18:30 +08:00
AllenX2018
c6282e7b27
remove ineffectual assignment to err
2020-11-18 09:56:56 +08:00
AllenX2018
6225f0c1e9
fix issue 4311
2020-11-17 20:53:33 +08:00
AllenX2018
663e5d728c
fix issue #4312
2020-11-13 16:47:22 +08:00
Ming Deng
14c1b76569
remove pkg directory;
...
remove build directory;
remove githook directory;
2020-10-08 18:29:36 +08:00