Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterClient ¶
ClusterClient represents a redis ClusterClient
type ClusterScanIterator ¶
type ClusterScanIterator struct {
// contains filtered or unexported fields
}
ClusterScanIterator represents redis cluster scan iterator
func (*ClusterScanIterator) Err ¶
func (cs *ClusterScanIterator) Err() error
Err returns an error for iterator
func (*ClusterScanIterator) Next ¶
func (cs *ClusterScanIterator) Next() bool
Next returns true if there is at least one more value in iterator
func (*ClusterScanIterator) Val ¶
func (cs *ClusterScanIterator) Val() string
Val returns current value pointed by the iterator
type ScanIterator ¶
ScanIterator represents a generic redis scan iterator that works on both redis Client and ClusterClient
func NewScanIterator ¶
func NewScanIterator(c interface{}, cursor uint64, match string, count int64) (ScanIterator, error)
NewScanIterator returns a scan operator regarding redis client type
Click to show internal directories.
Click to hide internal directories.