collectors

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AUDIO  = "audio"
	CO2    = "co2"
	Aire   = "aire"
	Basura = "basura"
)

default collections

Variables

This section is empty.

Functions

This section is empty.

Types

type Contaminacion

type Contaminacion struct {
	Cfg config.Server
	// contains filtered or unexported fields
}

func NewCollector

func NewCollector(cfg config.Server, client *mongo.Client) (*Contaminacion, error)

func (*Contaminacion) Init

func (collector *Contaminacion) Init() error

func (*Contaminacion) Run

func (collector *Contaminacion) Run()

Jump to

Keyboard shortcuts

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