Versions in this module Expand all Collapse all v0 v0.153.0 Oct 12, 2026 Changes in this version + var DefaultConfig = Config + type Cache struct + For GlobMatcher + type Config struct + Cache Cache + Polls []PollConfig + RespectCacheControlNoStoreInRequest bool + RespectCacheControlNoStoreInResponse bool + func DecodeConfig(_ config.BaseConfig, m map[string]any) (Config, error) + func (c *Config) Compile() (ConfigCompiled, error) + type ConfigCompiled struct + Base Config + For predicate.P[string] + PollConfigs []PollConfigCompiled + func (c *ConfigCompiled) IsPollingDisabled() bool + func (c *ConfigCompiled) PollConfigFor(s string) PollConfigCompiled + type GlobMatcher struct + Excludes []string + Includes []string + func (gm *GlobMatcher) CompilePredicate() (func(string) bool, error) + func (gm GlobMatcher) IsZero() bool + type PollConfig struct + Disable bool + For GlobMatcher + High time.Duration + Low time.Duration + func (c PollConfig) MarshalJSON() (b []byte, err error) + type PollConfigCompiled struct + Config PollConfig + For predicate.P[string] + func (p PollConfigCompiled) IsZero() bool