reports

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2018 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectDb

func ConnectDb()

ConnectDb creates a connection to the database

func GetData

func GetData(queryID uint64) (string, error)

GetData returns the data for the provided QueryID

Types

type Query

type Query struct {
	ID   uint64
	Rows *sql.Rows
}

Query holds the results of a database query operation

func CreateQuery

func CreateQuery(reportEntry string) (*Query, error)

CreateQuery submits a database query and returns the results

Jump to

Keyboard shortcuts

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