mysql

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: LGPL-3.0 Imports: 5 Imported by: 0

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