Documentation
¶
Index ¶
- type Store
- func (m *Store) Close() error
- func (m *Store) Del(_ context.Context, keys ...string) error
- func (m *Store) Delete(_ context.Context, keys []string) error
- func (m *Store) Exists(_ context.Context, keys ...string) (int64, error)
- func (m *Store) Expire(_ context.Context, key string, ttl time.Duration) error
- func (m *Store) Get(_ context.Context, key string) (string, error)
- func (m *Store) Gets(_ context.Context, keys []string) (map[string]string, []string)
- func (m *Store) Incr(_ context.Context, key string) (int64, error)
- func (m *Store) Set(_ context.Context, key, value string, ttl time.Duration) error
- func (m *Store) Sets(_ context.Context, values map[string]string, ttl time.Duration) error
- func (m *Store) TTL(_ 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.