Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis functions support #5

Closed
linux-china opened this issue Apr 27, 2022 · 1 comment
Closed

Redis functions support #5

linux-china opened this issue Apr 27, 2022 · 1 comment

Comments

@linux-china
Copy link
Collaborator

linux-china commented Apr 27, 2022

https://redis.io/docs/manual/programmability/functions-intro/

LOAD  localhost:6379
Content-Type: text/x-lua

#!lua name=mylib
redis.register_function(
  'knockknock',
  function() return 'Who\'s there?' end
)

https://youtrack.jetbrains.com/issue/IDEA-293139

@linux-china
Copy link
Collaborator Author

Fixed:

### redis 7 fuctions
//@name redis-mylib
LOAD mylib
Host: localhost:16379
Content-Type: text/x-lua

#!lua name=mylib
redis.register_function(
        'knockknock',
        function()
            return 'Who\'s there?'
        end
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant