package
3.0.0+incompatible
Repository: https://github.com/nitishm/go-rejson.git
Documentation: pkg.go.dev
# Functions
BytesToString converts each byte in a byte slice into character, else panic out.
CommandBuilder is used to build a command that can be used directly to build REJSON commands
This is especially useful if you do not need to client's `Do()` method and instead need to use the JSON.* commands in the MUTLI/EXEC scenario along with some other operations like GET/SET/HGET/HSET/..
StringToBytes converts each character of the string slice into byte, else panic out.
# Constants
ClientInactive signifies that the client is inactive in Handler.
DebugHelpOutput is the output of command JSON.Debug HELP <obj> [path].
DebugHelpSubcommand provide the corresponding HELP sub commands for JSONDebug.
DebugMemorySubcommand provide the corresponding MEMORY sub commands for JSONDebug.
PopArrLast gives index of the last element for JSONArrPop.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReJSON Commands.
No description provided by the author
No description provided by the author
No description provided by the author
JSONSET command Options.
No description provided by the author
# Variables
GoRedis specific Nil error.
Generic and Constant Errors to be returned to client to maintain stability.
Generic and Constant Errors to be returned to client to maintain stability.
Generic and Constant Errors to be returned to client to maintain stability.
Generic and Constant Errors to be returned to client to maintain stability.
JSONGet Command Options.
JSONGet Command Options.
JSONGet Command Options.
JSONGet Command Options.
# Structs
GetOption implements ReJSONOption for JSON.GET Method Get Options: * INDENT (with default set to a tab, '\t') * NEWLINE (with default set to a new line, '\n') * SPACE (with default set to a space, ' ') * NOESCAPE (a boolean type option).
# Interfaces
ReJSONOption provides methods for the options used by various ReJSON commands It also abstracts options from the required parameters of the commands
Like: JSON.GET, JSON.SET, JSON.ARRINDEX, JSON.ARRPOP.
# Type aliases
CommandBuilderFunc uses for the simplicity of the corresponding ReJSON module command builders.
DebugSubCommand provides the abstract sub-commands for the JSON.DEBUG command.
ReJSONCommandID marks a particular unique id to all the ReJSON commands to ensure proper type safety and help reducing typos in using them.
SetOption implements ReJSONOption for JSON.SET Method Set Options: * NX or XX.