package
2.7.3
Repository: https://github.com/aeo123/gf.git
Documentation: pkg.go.dev

# Functions

ClearConfig removes all configurations of redis.
ConfigFromMap parses and returns config from given map.
GetConfig returns the global configuration with specified group name.
Instance returns an instance of redis client with specified group.
New creates and returns a redis client.
NewWithAdapter creates and returns a redis client with given adapter.
RegisterAdapterFunc registers default function creating redis adapter.
RemoveConfig removes the global configuration with specified group.
SetConfig sets the global configuration for specified group.
SetConfigByMap sets the global configuration for specified group with map.

# Constants

Default configuration group name.
ASYNC: flushes the databases asynchronously.
SYNC: flushes the databases synchronously.
No description provided by the author
No description provided by the author

# Structs

Config is redis configuration.
CopyOption provides options for function Copy.
ExpireOption provides options for function Expire.
GetEXOption provides extra option for GetEx function.
Message received as result of a PUBLISH command issued by another client.
Redis client.
ScanOption provides options for function Scan.
ScriptFlushOption provides options for function ScriptFlush.
SetOption provides extra option for Set function.
Subscription received after a successful subscription to channel.
TTLOption provides extra option for TTL related functions.
ZAddMember is element struct for set.
ZAddOption provides options for function ZAdd.
ZRangeOption provides extra option for ZRange function.
ZRangeOptionLimit provides LIMIT argument for ZRange function.
ZRevRangeOption provides options for function ZRevRange.

# Interfaces

Adapter is an interface for universal redis operations.
AdapterGroup is an interface managing group operations for redis.
AdapterOperation is the core operation functions for redis.
Conn is an interface of a connection from universal redis client.
ConnCommand is an interface managing some operations bound to certain connection.
IGroupGeneric manages generic redis operations.
IGroupHash manages redis hash operations.
IGroupList manages redis list operations.
IGroupPubSub manages redis pub/sub operations.
IGroupScript manages redis script operations.
IGroupSet manages redis set operations.
IGroupSortedSet manages redis sorted set operations.
IGroupString manages redis string operations.

# Type aliases

AdapterFunc is the function creating redis adapter.
No description provided by the author
LInsertOp defines the operation name for function LInsert.