storageutil

package
v0.14.8 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package storageutil contains utility functions for mesh database interactions.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidQuery is returned when a query is invalid.
	ErrInvalidQuery = fmt.Errorf("invalid query")
	// ErrInvalidArgument is returned when an argument is invalid.
	ErrInvalidArgument = fmt.Errorf("invalid argument")
)

Functions

func ServeStorageQuery added in v0.12.0

func ServeStorageQuery(ctx context.Context, db storage.Provider, req *v1.QueryRequest) (*v1.QueryResponse, error)

ServeStorageQuery serves a storage query given a database and a query request.

Types

This section is empty.

Jump to

Keyboard shortcuts

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