types

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0, MIT Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BindnodeRegistry = bindnoderegistry.NewRegistry()

Functions

This section is empty.

Types

type LegsVoucherDTv1 added in v1.7.3

type LegsVoucherDTv1 struct {
	dtsync.Voucher
}

func (*LegsVoucherDTv1) Type added in v1.7.3

type LegsVoucherResultDtv1 added in v1.7.3

type LegsVoucherResultDtv1 struct {
	VoucherType datatransfer2.TypeIdentifier
	dtsync.VoucherResult
}

func (*LegsVoucherResultDtv1) Type added in v1.7.3

type Protocol

type Protocol struct {
	// The name of the transport protocol eg "libp2p" or "http"
	Name string
	// The address of the endpoint in multiaddr format
	Addresses []multiaddr.Multiaddr
}

type QueryResponse

type QueryResponse struct {
	Protocols []Protocol
}

Jump to

Keyboard shortcuts

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