Documentation
¶
Index ¶
- type Store
- func (s Store) Delete(ctx context.Context, req *v1.KeyReq) error
- func (s Store) Exist(ctx context.Context, key string) (bool, error)
- func (s Store) Expire(ctx context.Context, req *v1.ExpireReq) error
- func (s Store) Get(ctx context.Context, key string) (string, error)
- func (s Store) Put(ctx context.Context, req *v1.StorePutReq) error
- func (s Store) PutWithTTL(ctx context.Context, req *v1.StorePutWithTTLReq) error
- func (s Store) Stat(ctx context.Context) any
- func (s Store) Sync(ctx context.Context) error
- func (s Store) TTL(ctx context.Context, req *v1.KeyReq) (int64, 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.