Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Error is a general error class of this package Error = errs.Class("discovery error") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RefreshInterval time.Duration `help:"the interval at which the cache refreshes itself in seconds" default:"1s"` RefreshLimit int `help:"the amount of nodes read from the overlay in a single pagination call" default:"100"` RefreshConcurrency int `help:"the amount of nodes refreshed in parallel" default:"8"` }
Config loads on the configuration values for the cache
Click to show internal directories.
Click to hide internal directories.