iterator

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MinuteCheckPoint

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

type QueryIterator

type QueryIterator[OK any, ERR any] struct {
	// contains filtered or unexported fields
}

func NewQueryIterator

func NewQueryIterator[OK any, ERR any](startTime time.Time, endTime time.Time, ascending bool, queryRunner func(time.Time, time.Time) (OK, ERR), hasData func(time.Time, time.Time) bool) QueryIterator[OK, ERR]

func (*QueryIterator[OK, ERR]) CanFetchPrev

func (iter *QueryIterator[OK, ERR]) CanFetchPrev() bool

func (*QueryIterator[OK, ERR]) Finished

func (iter *QueryIterator[OK, ERR]) Finished() bool

func (*QueryIterator[OK, ERR]) Next

func (iter *QueryIterator[OK, ERR]) Next() (OK, ERR)

func (*QueryIterator[OK, ERR]) Prev

func (iter *QueryIterator[OK, ERR]) Prev() (OK, ERR)

func (*QueryIterator[OK, ERR]) Ready

func (iter *QueryIterator[OK, ERR]) Ready() bool

Jump to

Keyboard shortcuts

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