package
0.0.0-20220412220916-5ea02083e3ec
Repository: https://github.com/riteshrch/go-edge-device-lib.git
Documentation: pkg.go.dev

# Functions

DecayerConfig applies a configuration for the decayer.
NewConnManager creates a new BasicConnMgr with the provided params: lo and hi are watermarks governing the number of connections that'll be maintained.
NewDecayer creates a new decaying tag registry.
WithEmergencyTrim is an option to enable trimming connections on memory emergency.
WithGracePeriod sets the grace period.
WithSilencePeriod sets the silence period.

# Variables

DefaultResolution is the default resolution of the decay tracker.

# Structs

BasicConnMgr is a ConnManager that trims connections whenever the count exceeds the high watermark.
CMInfo holds the configuration for BasicConnMgr, as well as status data.
DecayerCfg is the configuration object for the Decayer.

# Type aliases

Option represents an option for the basic connection manager.