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.
Click to show internal directories.
Click to hide internal directories.