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) (mrlock.UnlockFunc, error)
Get(ctx context.Context, key string) (Response, error)
Store(ctx context.Context, key string, response Response) error
}
func NewNopProvider ¶
func NewNopProvider() Provider
Click to show internal directories.
Click to hide internal directories.