Documentation ¶
Index ¶
- func New(client *memcache.Client) locker.Locker
- type Locker
- func (l Locker) Delete(_ context.Context, key string)
- func (l Locker) Exist(_ context.Context, key string) bool
- func (l Locker) Get(_ context.Context, key string) ([]byte, error)
- func (l Locker) Separator() string
- func (l Locker) Set(_ context.Context, key string, value []byte, ttl time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.