datamodel

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryResultType

func QueryResultType() schema.Type

QueryResultType is the schema for a QueryResult

Types

type IndexesModel

type IndexesModel struct {
	Keys   []string
	Values map[string]ipld.Link
}

IndexesModel maps encoded context IDs to index links

type QueryResultModel

type QueryResultModel struct {
	Result0_1 *QueryResultModel0_1
}

QueryResultModel is the golang structure for encoding query results

type QueryResultModel0_1

type QueryResultModel0_1 struct {
	Claims  []ipld.Link
	Indexes *IndexesModel
}

QueryResultModel0_1 describes the found claims and indexes for a given query

Jump to

Keyboard shortcuts

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