Commit Graph

13 Commits

Author SHA1 Message Date
Glen De Cauwsemaecker 3480a28731 support redis as a global var in lua scripts (#289)
by supporting both ledis and redis as the global lua script var,
we keep ledis support as it is, while also supporting redis clients,
which will be sending scripts, whilst assuming redis is the global
2017-04-13 09:08:58 +08:00
siddontang ca344836ab use vendor and do clean up. (#241)
* use vendor and do clean up.
2016-05-01 23:33:02 +08:00
Nikolay Turpitko f08763cf37 Update script.go
OK then. I removed my comments, for bool code should work as is.
2016-01-22 16:57:52 +05:00
Nikolay Turpitko b2f90f832a Lua script, HMGET, value for absent key #219 2016-01-21 23:48:19 +06:00
siddontang eee7468b85 format with goimports 2015-05-04 22:42:28 +08:00
siddontang b36d4aba37 move some pkgs to vendor
godep can not handle some pkgs which have build tags

So we put these into vendor explicitly
2015-03-14 10:57:18 +08:00
siddontang dddbd5f146 remove begin, commit, rollback
simplify codes and features now, we don’t use transaction never, and it
is not universal for all backend storages and even introduces
complexity.
2015-03-14 09:10:00 +08:00
siddontang b7de9e6354 use tiny go package 2014-09-24 13:29:27 +08:00
siddontang 5bccfd13dc use tiny go package 2014-09-24 12:34:21 +08:00
siddontang 6aec5d4952 use golua directly 2014-09-13 14:11:05 +08:00
siddontang b9ea592026 add lua build tag
maybe install golua error, and lua cannot be used
2014-09-04 16:39:23 +08:00
siddontang 9628817ca4 replace lua error
error may cause c stack overflow
https://github.com/aarzilli/golua/issues/24
2014-09-03 09:03:49 +08:00
siddontang ab1ae62bf7 add lua support 2014-09-02 17:55:12 +08:00