Commit Graph

14 Commits

Author SHA1 Message Date
Vladimir Mihailenco d3d8002e89 feat: add HasErrorPrefix 2022-11-17 16:18:04 +02:00
tison d56af1f2d1
feat: support eval_ro and evalsha_ro
Signed-off-by: tison <wander4096@gmail.com>
2022-09-24 11:38:04 +08:00
Vladimir Mihailenco bf010a705d Export scripter interface 2021-01-26 11:57:16 +02:00
Vladimir Mihailenco 14c843ef89 gofumports 2020-07-16 09:52:07 +03:00
Vladimir Mihailenco f5593121e0 Add ctx as first arg 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco f3ce3362a0 Add golangci-lint 2019-07-25 14:36:50 +03:00
Evan Goldschmidt 7acec74c59 Script: Fix `Exists` to use hash instead of source (#726)
`SCRIPT EXISTS` accepts a hash, not the raw source: https://redis.io/commands/script-exists
2018-03-05 11:03:03 +02:00
Vladimir Mihailenco e3550dd65c Add Script.Hash 2017-05-24 15:24:47 +03:00
Vladimir Mihailenco 2e4944712d Document Script.Run. Fixes #536 2017-04-08 09:35:56 +03:00
Vladimir Mihailenco 34122bffa8 Check that clients implement scripter interface. 2016-12-14 12:12:50 +02:00
Vladimir Mihailenco 5e5a540eb1 Accept interface{} in Eval. Fixes #243. 2016-04-09 11:01:33 +03:00
Vladimir Mihailenco 771ae5f899 script: fix small API inconsistency (backwards compatible). 2015-06-11 17:17:06 +03:00
Vladimir Mihailenco 3bea997988 all: switch to gopkg.in. 2014-05-11 10:44:22 +03:00
Vladimir Mihailenco 8dd08e6e5a Add Lua script helper. 2013-05-22 17:56:59 +03:00