Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set interface { // Base returns the base Type. Base() redistypes.Type // Add implements the Redis command SADD. It adds one or more values to a set // and returns the number of values added to the set, not including the ones // that already existed. // // See https://redis.io/commands/sadd. Add(values ...interface{}) (uint64, error) // Card implements the Redis command SCARD. It returns the cardinality of the // set, or 0 if the set doesn't exist. // // See https://redis.io/commands/scard. Card() (uint64, error) }
Set is a Redis implementation of a set.
Click to show internal directories.
Click to hide internal directories.