package
0.0.0-20241106082018-11bdd2c44119
Repository: https://github.com/vidkin/metrics.git
Documentation: pkg.go.dev
# Functions
NewAgentConfig initializes a new AgentConfig instance with default values and parses command-line flags and environment variables to populate its fields.
NewServerAddress creates and returns a new instance of the ServerAddress struct initialized with default values.
NewServerConfig initializes a new ServerConfig instance with default values and parses command-line flags and environment variables to populate its fields
Returns: - A pointer to the newly created and initialized ServerConfig instance.
# Constants
Constants for default agent intervals.
Constants for default agent intervals.
No description provided by the author
No description provided by the author
# Structs
AgentConfig holds the configuration settings for the agent.
ServerAddress represents the host and port information for a server.
ServerConfig holds the configuration settings for the server.
# Type aliases
Interval represents a time interval in seconds.