stathatconsumer

package
v0.0.0-...-2e8e066 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

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

Consumer represents a StatHat consumer of DFSR monitor backlog updates.

func New

func New(ezkey string, format string, updates <-chan *monitor.Update) *Consumer

New returns a new StatHat consumer of DFSR monitor backlog updates. The returned consumer will function until the provided backlog channel is closed.

If the provided ezkey is empty New will panic.

If the provided format is empty New will return a consumer that does nothing.

Jump to

Keyboard shortcuts

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