Documentation
¶
Index ¶
- type Store
- func (r *Store) Close() error
- func (r *Store) Del(ctx context.Context, keys ...string) error
- func (r *Store) Delete(ctx context.Context, keys []string) error
- func (r *Store) Exists(ctx context.Context, keys ...string) (int64, error)
- func (r *Store) Expire(ctx context.Context, key string, ttl time.Duration) error
- func (r *Store) Get(ctx context.Context, key string) (string, error)
- func (r *Store) Gets(ctx context.Context, keys []string) (map[string]string, []string)
- func (r *Store) Incr(ctx context.Context, key string) (int64, error)
- func (r *Store) Set(ctx context.Context, key, value string, ttl time.Duration) error
- func (r *Store) Sets(ctx context.Context, values map[string]string, ttl time.Duration) error
- func (r *Store) TTL(ctx context.Context, key string) (time.Duration, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.