headersCache

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL