collector

package
v0.0.0-...-8ab2800 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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 holds the collector settings and provides a method to start it.

func NewCollector

func NewCollector() (*Collector, error)

NewCollector loads the collector components and returns a new Collector instance.

func (*Collector) Start

func (c *Collector) Start() error

Start runs the collector and blocks the goroutine indefinitely unless an error happens.

Jump to

Keyboard shortcuts

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