Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector is responsible for collecting system and hardware data.
func NewCollector ¶
func NewCollector(logger *zap.SugaredLogger) Collector
NewCollector creates a new Collector instance with the provided logger.
func (*Collector) CollectData ¶
CollectData collects system and hardware data and returns the model.Root struct.
Click to show internal directories.
Click to hide internal directories.