Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface {
Validate(key string) error
Lock(ctx context.Context, key string) (unlock func(), err error)
Get(ctx context.Context, key string) (Responser, error)
Store(ctx context.Context, key string, response Responser) error
}
Provider - провайдер предоставляющий методы, для поддержки идемпотентности запроса.
Click to show internal directories.
Click to hide internal directories.