Commit Graph

33 Commits

Author SHA1 Message Date
Yaroslav "Zorg" Zborovsky b58386704c
Fix Redis stats storage concurrency issues (#478) 2020-02-29 17:14:44 +08:00
Cem KIY 682ca7fbad badger version upgrade to v1.6.0 (#439)
* badger version upgrade to v1.6.0

- excuted go mod tidy command
- fixed badger error when without go mod

* go mod tidy and update packages
2019-12-08 07:41:16 +08:00
Cem KIY 5b526a73bd fixed #402 item get value error fix (#404)
- bager rename badger
- Value method not usable, therfore changed to ValueCopy
2019-04-13 22:39:33 +08:00
Bo-Yi Wu 3f223cf6c0
feat: switch to drone 1.0 (#399)
fix #397
2019-03-16 11:37:01 +08:00
Bo-Yi Wu ffa8eb12b3
feat: Add badgerDB support. (#353)
See https://github.com/dgraph-io/badger
Slide: https://github.com/gopherchina/conference/blob/master/2018/1.5%20Badger_%20Fast%20Key-Value%20DB%20in%20Go.pdf
2018-04-16 17:26:15 +08:00
Bo-Yi Wu f3480d2dd8 Support global ENV setting. (#293)
* Support global ENV setting.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* add viper package

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix typo

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix testing.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix testing.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-22 22:06:30 -05:00
Bo-Yi Wu 35e2c97f43 fix lint error in storage folder. (#276)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-23 22:25:05 -05:00
Bo-Yi Wu 45a3ca891e refactor: storage key. (#242)
* refactor: storage key.

* fix path

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-24 11:48:48 -05:00
Bo-Yi Wu 8dcc680434 move storage interface to storage folder. (#240)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-23 23:09:45 -05:00
Bo-Yi Wu 6510427a14 refactor: upgrade drone to 0.6 (#219)
* refactor: upgrade drone to 0.6

* fix path.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix path.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix redis host.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-04 11:09:07 +08:00
Bo-Yi Wu a7b969dcf3 refactor: update import path. 2017-01-19 17:08:12 +08:00
Bo-Yi Wu 218e3fbddc replace endless with facebook grace package.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-01-01 16:01:08 +08:00
Bo-Yi Wu 9b5815fd9f Upgrade redis client to v4.
ref: http://godoc.org/gopkg.in/redis.v4

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-09-19 17:00:14 +08:00
Bo-Yi Wu bf56f592e8 support LevelDB key/value database.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-09-19 16:19:20 +08:00
Bo-Yi Wu 45fbb4933c Add memory reset func.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-03 15:02:13 +08:00
Bo-Yi Wu 1326aae547 update storage testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-03 14:30:21 +08:00
Bo-Yi Wu 9dd33575e6 remove db file before testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-02 16:25:04 +08:00
Bo-Yi Wu 87328592dc fix variable name and add reset test.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-02 15:42:46 +08:00
Bo-Yi Wu b13fd54ba3 Support BuntDB engine.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-02 15:35:28 +08:00
Bo-Yi Wu dd1fb29e6b fix boltdb and memory client lint.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-01 10:57:00 +08:00
Bo-Yi Wu 4494310984 fix redis client lint.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-01 10:39:33 +08:00
Bo-Yi Wu f823e5a1d5 update lint.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-07-31 21:10:59 +08:00
Bo-Yi Wu 84c13e6d42 add nil testing for memory.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-30 13:47:10 +08:00
Bo-Yi Wu 937f35e284 update docker testing script via glide.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-04 15:02:54 +08:00
Bo-Yi Wu 6005a51e0c rename the config path.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-03 09:56:59 +08:00
Bo-Yi Wu 5994f48e7e integrate boltdb engine.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 20:22:37 +08:00
Bo-Yi Wu 03ab8eeac7 integrate redis engine.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 19:42:21 +08:00
Bo-Yi Wu 8df5c63860 integrate memory engine.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 17:03:08 +08:00
Bo-Yi Wu 17c4ca4b2e Fixed #70 Support boltDB interface.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 14:55:25 +08:00
Bo-Yi Wu 1ccd81bbd0 fix wrong stat count for redis engine.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 14:55:24 +08:00
Bo-Yi Wu 9cfe693ad9 switch default private key to public.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 14:55:24 +08:00
Bo-Yi Wu a8851981c2 Fixed #69 Support redis interface.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 14:55:19 +08:00
Bo-Yi Wu 077f836d1c Fixed #66 Support memory interface.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 11:04:19 +08:00