for_sqlite

package
v0.0.0-...-0ac7fff Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package for_sqlite provides a sqlite implementation of interfaces in the stldb package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func New

func New(db *sqlite3_db.Db) *Store

New creates a sqlite implementation of the speedtestlogger app datastore.

func (*Store) AddEntry

func (s *Store) AddEntry(t db.Transaction, entry *stl.Entry) error

func (*Store) Entries

func (s *Store) Entries(
	t db.Transaction,
	startTime,
	endTime int64,
	consumer consume2.Consumer[stl.Entry]) error

func (*Store) RemoveEntries

func (s *Store) RemoveEntries(
	t db.Transaction, startTime, endTime int64) error

Jump to

Keyboard shortcuts

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