extractor

package
v0.0.0-...-ec15ee7 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extractor

type Extractor struct {
	SqlDB *sql.DB
}

func (*Extractor) MeasurementExists

func (e *Extractor) MeasurementExists(date string) bool

func (*Extractor) ProcessResultsFromExtractor

func (e *Extractor) ProcessResultsFromExtractor(res string) error

type ExtractorResults

type ExtractorResults struct {
	Measurements []struct {
		Type  string `json:"type"`
		Value string `json:"value"`
	} `json:"measurements"`
	Date int64 `json:"date"`
}

Jump to

Keyboard shortcuts

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