Documentation ¶
Index ¶
- type Store
- func (a *Store) Check(ctx context.Context, key string) (bool, error)
- func (a *Store) Close() error
- func (a *Store) Delete(ctx context.Context, key string) error
- func (a *Store) EXP(ctx context.Context, key string, expiration time.Duration) (bool, error)
- func (a *Store) Get(ctx context.Context, key string) (string, bool, error)
- func (a *Store) Set(ctx context.Context, key, value string, expiration time.Duration) error
- func (a *Store) Set1(ctx context.Context, key string, expiration time.Duration) error
- func (a *Store) TTL(ctx context.Context, key string) (time.Duration, bool, 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.