exporter

package
v0.0.0-...-09b1dbd Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Listen  string
	Devices []Device
}

type Device

type Device struct {
	devices.Device `mapstructure:",squash"`
	Type           string
}

type Exporter

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

func NewExporter

func NewExporter(cfg Config) *Exporter

func (*Exporter) Handle

func (e *Exporter) Handle(ad scanner.Advertisement)

func (*Exporter) Run

func (e *Exporter) Run(ctx context.Context) error

Run runs the exporter until the context is cancelled

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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