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

return redis list objects too, converted into json list #749

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sseide
Copy link

@sseide sseide commented Sep 20, 2018

Currently redis objects of type "list" are ignored.

This patch converts redis lists into json lists (strings) to be available within the templating engine via "jsonArray (getv (...)". As other backends like consul does not support other types than strings this can be used to have interchangeable backends while using native datatype support of the backend.

As this is my very first try in GO there may things be done in a better way probably...

p.s. reformatting was done automatically by IntelliJ or some other tool, dont now...

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

Successfully merging this pull request may close these issues.

None yet

1 participant