Documentation ¶
Index ¶
- func Decr(ctx context.Context, key string) (v int64, err errors.CodeError)
- func Exist(ctx context.Context, key string) (ok bool, err errors.CodeError)
- func Expire(ctx context.Context, key string, expiration time.Duration) (ok bool, err errors.CodeError)
- func Incr(ctx context.Context, key string) (v int64, err errors.CodeError)
- func Lock(ctx context.Context, key string, expiration time.Duration) (err errors.CodeError)
- func Persist(ctx context.Context, key string) (ok bool, err errors.CodeError)
- func Remove(ctx context.Context, key string) (err errors.CodeError)
- func SAdd(ctx context.Context, key string, members ...interface{}) (err errors.CodeError)
- func SMembers(ctx context.Context, key string) (members []string, err errors.CodeError)
- func SRem(ctx context.Context, key string, members ...interface{}) (err errors.CodeError)
- func Service() service.Service
- func Set(ctx context.Context, key string, value string, expiration time.Duration) (err errors.CodeError)
- func Unlock(ctx context.Context, key string) (err errors.CodeError)
- type Client
- type Command
- type Params
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Params ¶ added in v0.12.1
type Params struct {
// contains filtered or unexported fields
}
func (*Params) MarshalJSON ¶ added in v0.12.1
func (*Params) UnmarshalJSON ¶ added in v0.12.1
Click to show internal directories.
Click to hide internal directories.