getter

package
v1.22.25 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Getter

type Getter interface {
	// Get gets a vertex
	Get(context.Context, ids.NodeID, uint32, ids.ID) error

	// GetAncestors gets ancestors
	GetAncestors(context.Context, ids.NodeID, uint32, ids.ID, int) error

	// Put puts a vertex
	Put(context.Context, ids.NodeID, uint32, []byte) error

	// PushQuery pushes a query
	PushQuery(context.Context, ids.NodeID, uint32, []byte) error

	// PullQuery pulls a query
	PullQuery(context.Context, ids.NodeID, uint32, ids.ID) error
}

Getter gets vertices

func New

func New() Getter

New creates a new getter

Jump to

Keyboard shortcuts

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