Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IfName ¶
type IfName struct { SourceTag string `toml:"tag"` DestTag string `toml:"dest"` AgentTag string `toml:"agent"` snmp.ClientConfig CacheSize uint `toml:"max_cache_entries"` MaxParallelLookups int `toml:"max_parallel_lookups"` Ordered bool `toml:"ordered"` CacheTTL config.Duration `toml:"cache_ttl"` Log telegraf.Logger `toml:"-"` // contains filtered or unexported fields }
func (*IfName) SampleConfig ¶
type LRUCache ¶
type LRUCache struct {
// contains filtered or unexported fields
}
func (*LRUCache) Get ¶
func (c *LRUCache) Get(key keyType) (LRUValType, bool)
Get a list node from the hash map.
func (*LRUCache) Put ¶
func (c *LRUCache) Put(key keyType, value LRUValType)
Put key and value in the LRUCache
type LRUValType ¶
type LRUValType = TTLValType
type Pair ¶
type Pair struct {
// contains filtered or unexported fields
}
Pair is the value of a list node.
type TTLValType ¶
type TTLValType struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.