mysql

package
v0.0.0-...-e9b33d8 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: LGPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQL

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

func Open

func Open(hostname, username, password, database string) *MySQL

func (*MySQL) FetchByUUID

func (p *MySQL) FetchByUUID(uuid string) (*schema.TelemetryData, error)

func (*MySQL) FetchLast100

func (p *MySQL) FetchLast100() ([]schema.TelemetryData, error)

func (*MySQL) Insert

func (p *MySQL) Insert(data *schema.TelemetryData) error

Jump to

Keyboard shortcuts

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