Versions in this module Expand all Collapse all v3 v3.3.4 Sep 30, 2024 Changes in this version + const DefaultMaxHostsCount + type Cache struct + MaxHostError int + TrackError []string + func New(maxHostError, maxHostsCount int, trackError []string) *Cache + func (c *Cache) Check(protoType string, ctx *contextargs.Context) bool + func (c *Cache) Close() + func (c *Cache) GetKeyFromContext(ctx *contextargs.Context, err error) string + func (c *Cache) MarkFailed(protoType string, ctx *contextargs.Context, err error) + func (c *Cache) NormalizeCacheValue(value string) string + func (c *Cache) SetVerbose(verbose bool) + type CacheInterface interface + Check func(protoType string, ctx *contextargs.Context) bool + Close func() + MarkFailed func(protoType string, ctx *contextargs.Context, err error) + SetVerbose func(verbose bool)