agent

package
v0.0.0-...-d6337b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Config               *config.Config
	Poller               *poller.Poller
	Sender               *sender.MetricsSender
	MetricsStorageClient *client.MetricsStorageClient
}

Agent instance with dependencies

func New

func New() *Agent

func (*Agent) RunAgent

func (ag *Agent) RunAgent(ctx context.Context)

func (*Agent) Start

func (ag *Agent) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL