Commit Graph

67 Commits

Author SHA1 Message Date
dependabot[bot]
d590afc2d0 build(deps): bump github.com/stretchr/testify in /memory
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 07:51:27 +00:00
Juan Calderon-Perez
22f4401661 Add fix to verify Keys are expired during Keys() call. 2023-10-29 21:00:43 -04:00
Juan Calderon-Perez
0e92f332da Fix check for no keys 2023-10-29 20:48:39 -04:00
Juan Calderon-Perez
7921dc7e37 Add support for Keys() to Memory Driver 2023-10-29 20:42:46 -04:00
Muhammed Efe Cetin
f113998db1 fix redis tests 2023-09-16 19:49:48 +03:00
Muhammed Efe Cetin
db1dd2bf6a update delete benchmarks 2023-09-15 18:23:02 +03:00
Muhammed Efe Cetin
68d59280d8 add benchmarks for all storages 2023-09-15 00:02:13 +03:00
Juan Calderon-Perez
41ad317a6d Update dependencies across the board, fix all go.sum/go.mod files 2023-08-23 00:30:10 -04:00
Juan Calderon-Perez
9d99e7dd5b Update all README files with new major versions 2023-08-23 00:05:48 -04:00
Juan Calderon-Perez
9570205b8a Cleanup the go.mod files 2023-08-21 08:36:48 -04:00
Juan Calderon-Perez
c0cc07ca93 Update README files, use require.NoError 2023-08-20 09:22:43 -04:00
Juan Calderon-Perez
a638b6d4f2 More fixes 2023-08-19 23:05:05 -04:00
Juan Calderon-Perez
9291b82212 Update all test files with go1.21, update all go.mod files to go1.19 2023-08-19 22:56:22 -04:00
Juan Calderon-Perez
c338ddedc1 Fixes based on test failures 2023-08-19 22:47:49 -04:00
Juan Calderon-Perez
02d809987a Use testify.Require for all Storage Drivers 2023-08-19 22:36:33 -04:00
Juan Calderon-Perez
2779bfdf01 Use go1.18 as minimum, run mod tidy on each driver 2023-08-19 21:46:36 -04:00
RW
9a9a1ce716 Update README.md 2023-07-08 21:03:57 +02:00
M. Efe Çetin
c030fac063 📝 docs: automated synchronization with gofiber/docs (#880)
* add sync_docs script

* update docs

* update docs

* Update README.md

- sort lines and fix closing image tag

* update docs

---------

Co-authored-by: RW <rene@gofiber.io>
2023-07-07 17:45:22 +03:00
dependabot[bot]
960163ea48 Bump github.com/gofiber/utils from 1.0.1 to 1.1.0 in /memory
Bumps [github.com/gofiber/utils](https://github.com/gofiber/utils) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/gofiber/utils/releases)
- [Commits](https://github.com/gofiber/utils/compare/v1.0.1...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/gofiber/utils
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-19 07:57:14 +00:00
Juan Calderon-Perez
c2fc6d75f2 Updates to dependencies and go.mod files 2023-03-27 18:51:46 -07:00
RW
8a0fa4c063 🐛 [Bug-Fix]: add lock to avoid data race #2360 #2368
2e8ca17a76
2023-03-14 11:43:34 +01:00
gaby
a3b1139001 Breakdown local storage tests into separate files. Fix go.sum files 2022-11-20 04:59:16 -08:00
gaby
5a40e781c1 Deprecate support for go 1.14 and go 1.15 2022-11-20 04:20:05 -08:00
Leon Klingele
117838fd0e memory: move costly operations outside of locked area 2022-11-14 03:20:20 +01:00
Leon Klingele
318b2fc04c memory: ensure to never delete non-expired items
This fixes a TOCTOU problem between a mutex rlock and a mutex lock.
2022-11-14 03:19:31 +01:00
Leon Klingele
0aa08303bc memory: cache timestamp 2022-11-14 03:18:42 +01:00
dependabot[bot]
35acbea01c Bump github.com/gofiber/utils from 0.1.2 to 1.0.1 in /memory
Bumps [github.com/gofiber/utils](https://github.com/gofiber/utils) from 0.1.2 to 1.0.1.
- [Release notes](https://github.com/gofiber/utils/releases)
- [Commits](https://github.com/gofiber/utils/compare/v0.1.2...v1.0.1)

---
updated-dependencies:
- dependency-name: github.com/gofiber/utils
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 07:08:21 +00:00
René Werner
6ded9c0f75 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	memory/memory_test.go
2022-10-19 16:06:42 +02:00
René Werner
dd752c6046 change test names for the memory tests 2022-10-19 16:05:56 +02:00
René Werner
c850eaff51 increase performance for the memory storage 2022-10-19 11:42:09 +02:00
Juan Calderon-Perez
3a8b8d4f71 Add Conn() support to all storage drivers. (#451)
* Add DB() support for Redis driver

* Added support for DB() to all drivers

* Fixed typo in README and Lint issue

* Fix lint issue with ristretto db

* Fix lint issue with bbolt db

* Rename DB() to Conn()

* Replace all instances of _DB with _Conn

* Update all the README files

* Return ArangoDB Client instead of DB
2022-08-15 07:58:13 +02:00
Fenny
9a9ea7d242 📦 update modules 2020-11-23 09:33:29 +01:00
Fenny
ab94351a60 ✏ return nil for notfound 2020-11-23 09:30:50 +01:00
Fenny
fd56bd28da 🎭 stay backwards compatible 2020-11-18 09:00:59 +01:00
Fenny
ddef41c2ee ✏ update comments 2020-11-17 13:56:09 +01:00
Fenny
deb10fb2a7 🩹 fix duration check 2020-11-13 18:35:23 +01:00
Fenny
c57c524007 📦 add dynamodb 2020-11-12 20:14:21 +01:00
Fenny
c0fabf16eb 📦 go 1.14 + 2020-11-12 03:34:26 +01:00
Fenny
cdf009407b 🩹 update tests 2020-11-06 16:05:53 +01:00
kiyon
5c5de159d0 🚤 Improve memory storage 2020-11-06 09:32:50 +08:00
Fenny
e85859e8c4 🎨 update signatures 2020-11-06 01:49:30 +01:00
Fenny
f9a30234b9 🧹 introduce reset and close 2020-11-06 01:41:46 +01:00
Fenny
3799ccc4f5 🎨 update installation 2020-11-05 09:56:28 +01:00
Fenny
fdf31cf4c0 ✏ update signatures 2020-11-05 09:47:33 +01:00
Fenny
f965c69512 🧪 update tests 2020-11-05 09:37:33 +01:00
Fenny
8e13432b70 update go mods 2020-11-05 09:16:20 +01:00
Fenny
86b9cfe4c1 remove close method 2020-11-05 06:08:05 +01:00
Fenny
5571999805 sql queries T.T 2020-11-05 06:01:59 +01:00
Fenny
2458ab7395 help 2020-11-05 05:58:52 +01:00
Fenny
79f1f1609e update tests 2020-11-05 05:57:14 +01:00