Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
agent
command
|
|
|
keycli
command
Package main provides a CLI tool for generating RSA key pairs and saving them to files.
|
Package main provides a CLI tool for generating RSA key pairs and saving them to files. |
|
server
command
|
|
|
staticlint
command
Command staticlint is a custom static analysis tool based on golang.org/x/tools/go/analysis/multichecker.
|
Command staticlint is a custom static analysis tool based on golang.org/x/tools/go/analysis/multichecker. |
|
internal
|
|
|
agent/agent
Package agent provides functionalities for collecting and sending metrics.
|
Package agent provides functionalities for collecting and sending metrics. |
|
agent/collect
Package collect provides interfaces and implementations for collecting metrics.
|
Package collect provides interfaces and implementations for collecting metrics. |
|
agent/collect/metadata
Package metadata provides functionality for maintaining and updating metadata related to polling operations.
|
Package metadata provides functionality for maintaining and updating metadata related to polling operations. |
|
agent/collect/stategies
Package stategies provides implementations of metric collection strategies.
|
Package stategies provides implementations of metric collection strategies. |
|
agent/config
Package config provides functionality for parsing and handling configuration settings for the application.
|
Package config provides functionality for parsing and handling configuration settings for the application. |
|
agent/internal/entity
Package entity provides definitions for metrics and related utility functions.
|
Package entity provides definitions for metrics and related utility functions. |
|
agent/send
Package send provides functionality for building and sending HTTP requests, including support for gzip compression and request signing.
|
Package send provides functionality for building and sending HTTP requests, including support for gzip compression and request signing. |
|
agent/send/compress
Package compress provides functionality for compressing data using the gzip algorithm.
|
Package compress provides functionality for compressing data using the gzip algorithm. |
|
agent/send/model
Package model provides types and conversion functions for metrics.
|
Package model provides types and conversion functions for metrics. |
|
server/config
Package config provides functionality for parsing and managing the server's configuration.
|
Package config provides functionality for parsing and managing the server's configuration. |
|
server/delivery
Package delivery implements the HTTP delivery layer for the server using the Echo framework.
|
Package delivery implements the HTTP delivery layer for the server using the Echo framework. |
|
server/delivery/middleware
Package middleware provides a collection of Echo middlewares for the server delivery layer.
|
Package middleware provides a collection of Echo middlewares for the server delivery layer. |
|
server/delivery/model
Package model defines the data structures and conversion functions used to map between the internal entity representation of a metric and the model representation used for JSON serialization and deserialization.
|
Package model defines the data structures and conversion functions used to map between the internal entity representation of a metric and the model representation used for JSON serialization and deserialization. |
|
server/delivery/render
Package render provides an HTML template renderer for the Echo framework.
|
Package render provides an HTML template renderer for the Echo framework. |
|
server/internal/controller
Package controller provides functionality for managing and manipulating metrics in the server application.
|
Package controller provides functionality for managing and manipulating metrics in the server application. |
|
server/internal/entity
Package entity defines the data structures and helper functions for representing and manipulating metrics.
|
Package entity defines the data structures and helper functions for representing and manipulating metrics. |
|
server/repository
Package repository defines the interfaces and implementations for metric storage repositories.
|
Package repository defines the interfaces and implementations for metric storage repositories. |
|
pkg
|
|
|
convert
Package convert provides utility functions for numeric conversions.
|
Package convert provides utility functions for numeric conversions. |
|
logging
Package logging provides functionality for creating and retrieving logger instances configured at different log levels using Uber's zap logging library.
|
Package logging provides functionality for creating and retrieving logger instances configured at different log levels using Uber's zap logging library. |
|
retry
Package retry provides utilities for executing functions with retry logic, including a linear backoff mechanism.
|
Package retry provides utilities for executing functions with retry logic, including a linear backoff mechanism. |
|
sign
Package sign provides functionality for generating HMAC-SHA256 signatures.
|
Package sign provides functionality for generating HMAC-SHA256 signatures. |
Click to show internal directories.
Click to hide internal directories.