redisutil

package
v0.0.0-...-7408474 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckReplies

func CheckReplies(replies []interface{}, expect int) error

CheckReplies returns an error if the number of replies does not match the expected number, and returns the first error among the replies, if any.

func DoMany

func DoMany(conn redis.Conn, commandCount int) ([]interface{}, error)

DoMany sends buffered commands and returns their replies. If one of the replies is an error, it returns it instead.

The command count is used only to verify that the number of replies matches expectations.

See also: CheckReplies.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL