Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendSender ¶
type BackendSender struct {
// contains filtered or unexported fields
}
BackendSender holds configuration for backend communication.
func NewBackendSender ¶
func NewBackendSender(endpointPath, tokenPath string) *BackendSender
NewBackendSender creates a new BackendSender with the given endpoint and token paths.
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.