storage

package
v0.0.0-...-a139d31 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

func New

func New() (*DB, error)

func (*DB) GetTWCIP

func (d *DB) GetTWCIP() (string, error)

func (*DB) Init

func (d *DB) Init() error

func (*DB) QueryVitals

func (d *DB) QueryVitals(startTime time.Time) ([]*twc.VitalQueryResponse, error)

func (*DB) RecordVital

func (d *DB) RecordVital(ip string, vital *twc.Vital) error

func (*DB) SaveTWCIP

func (d *DB) SaveTWCIP(ip string) error

Jump to

Keyboard shortcuts

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