reading

package
v1.2.2-dev.90 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetReadingsExecutor

type GetReadingsExecutor interface {
	Execute() ([]contract.Reading, error)
}

GetReadingsExecutor retrieves one or more readings.

func NewGetReadingsNameExecutor

func NewGetReadingsNameExecutor(name string, limit int, loader Loader, logger logger.LoggingClient, config bootstrapConfig.ServiceInfo) GetReadingsExecutor

NewGetReadingsNameExecutor creates a GetReadingsExecutor which will retrieve readings by a value descriptor name.

type Loader

type Loader interface {
	ReadingsByValueDescriptor(name string, limit int) ([]contract.Reading, error)
}

Loader provides functionality for loading Readings.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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