This repository was archived by the owner on Jan 26, 2023. It is now read-only.
This repository was archived by the owner on Jan 26, 2023. It is now read-only.
nodes info output parser that doesn't rely on treating it like YAML #4
Parsing of Redis Nodes Info is currently done by adding a little whitespace after each
:and then parsing it to a struct as YAML. This is kinda hacky and could have some unintended side-effects as YAML is more expressive than Redis Nodes info. Write a parser that handles this using reflect to parse the result of each key to astringand value to astringor anint.