Documentation ¶
Index ¶
- Constants
- type Cluster
- func (c *Cluster) Delete(ctx context.Context, key string) error
- func (c *Cluster) Get(ctx context.Context, key string) (*string, error)
- func (c *Cluster) GetAndDelete(ctx context.Context, key string) (deletedValue *string, exists bool, err error)
- func (c *Cluster) GetOrSet(ctx context.Context, key, value string, ttl time.Duration) (storedValue *string, retrieved bool, err error)
- func (c *Cluster) Set(ctx context.Context, key, value string, ttl time.Duration) error
- func (c *Cluster) Start(ctx context.Context) error
- func (c *Cluster) Stop(ctx context.Context) error
- func (c *Cluster) Type() string
- type Config
- type Metrics
Constants ¶
View Source
const Type = "redis-cluster"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
func (*Cluster) GetAndDelete ¶
type Config ¶
Click to show internal directories.
Click to hide internal directories.