weatheregress

package
v0.0.0-...-d8ac9bd Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Egress

type Egress struct {
	Amqp           amqp2.Pool            `kernel:"inject"`
	Mqtt           mqtt.Pool             `kernel:"inject"`
	DatabaseBroker broker.DatabaseBroker `kernel:"inject"`
	Processor      *Processor            `kernel:"inject"`
	Daemon         *kernel.Daemon        `kernel:"inject"`
	QueueName      *string               `kernel:"flag,metric-queue,DB queue name,database.calc"`
	// contains filtered or unexported fields
}

func (*Egress) Start

func (s *Egress) Start() error

type Processor

type Processor struct {
	// contains filtered or unexported fields
}

func (*Processor) ProcessMetric

func (s *Processor) ProcessMetric(metric api.Metric)

ProcessMetric accepts a metric, checks to see if it's one we are interested in and if so places it into the work queue

func (*Processor) Start

func (s *Processor) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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