Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrHeaderNotFound = errors.New("cannot find header in cache")
ErrHeaderNotFound signals that the header that was searched was not found in the pool
View Source
var ErrInvalidHeadersCacheParameter = errors.New("invalid headers cache parameters")
ErrInvalidHeadersCacheParameter signals that parameters for headers cache are invalid
Functions ¶
func NewHeadersPool ¶
func NewHeadersPool(hdrsPoolConfig config.HeadersPoolConfig) (*headersPool, error)
NewHeadersPool will create a new items cacher
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.