types

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CARTransferRequest

type CARTransferRequest struct {
	RequestId  string
	Root       string
	SkipOffset uint64
}

CARTransferRequest is the request sent by the client to transfer a CAR file for the given root and selector.

func (*CARTransferRequest) ToDAGRequest

func (c *CARTransferRequest) ToDAGRequest() (*DagTraversalRequest, error)

type DagTraversalRequest

type DagTraversalRequest struct {
	RequestId uuid.UUID
	Root      cid.Cid
	Selector  ipld.Node
}

Jump to

Keyboard shortcuts

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