mydb

package
v0.0.0-...-e7ea7dc Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *sql.DB

Functions

func GetCMD

func GetCMD(bsid string) (mycmds []constants.Commands)

func GetGPS

func GetGPS(bsid string) (mycmds []constants.GPSData)

func GetImage

func GetImage(filename, block string) (image []byte)

func GetLastImage

func GetLastImage(filename string) (image []byte)

func GetMSG

func GetMSG(mid string) (Parameters map[string]string)

func InsertCMD

func InsertCMD(bsid, data, sendon string)

func InsertData

func InsertData(Parameters map[string]string)

func InsertImagePart

func InsertImagePart(filename string, val []byte)

func OpenDB

func OpenDB()

func QueryData

func QueryData(name string, key string, limit string) (myrows []constants.SatData)

func Register

func Register() (myrows []constants.Stations)

func UpdateCMDAck

func UpdateCMDAck(bsid, id string)

func UpdateCMDSent

func UpdateCMDSent(bsid, id string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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