api

package
v0.0.0-...-a4d05e0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQuery

func NewQuery(topic string, modifiers ...QueryModifier) *proto.QueryRequest

Types

type QueryModifier

type QueryModifier func(*proto.QueryRequest)

QueryModifiers are handy for building more complex queries.

func Ascending

func Ascending() QueryModifier

func Cursor

func Cursor(resp *proto.QueryResponse) QueryModifier

Set cursor from previous response if present

func Descending

func Descending() QueryModifier

func Limit

func Limit(l uint32) QueryModifier

func TimeRange

func TimeRange(start, end uint64) QueryModifier

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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