parameters

package
v0.0.0-...-7df7d9a Latest Latest
Warning

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

Go to latest
Published: Jul 24, 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 QueryParams

type QueryParams struct {
	Hostname string
	Start    time.Time
	End      time.Time
}

QueryParams is the structure that contains all parameters read from a CSV and used to make a query to the database

func ReadFromCSV

func ReadFromCSV(reader io.Reader) ([]QueryParams, error)

ReadFromCSV tries to read all the parameters from a CSV and returns them in a list (otherwise an error) if there are errors parsing the file, it will print them to stdout. TODO limit the amount of errors to some sane amount

Jump to

Keyboard shortcuts

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