Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlgoStorage ¶
type AlgoStorage struct {
Storage
}
func New ¶
func New(cfg config.Config) *AlgoStorage
type Storage ¶
type Storage interface {
// Get - returns the same slice headers as stored in origin *model.Response! Don't mutate it, just copy if you need some more than read.
Get(ctx context.Context, req *model.Request, fn model.ResponseCreator) (resp *model.Response, isHit bool, err error)
Del(req *model.Request)
}
Click to show internal directories.
Click to hide internal directories.