proto

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: Apache-2.0, MIT, Apache-2.0, + 1 more Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelegatedRouting_AsyncHandler

func DelegatedRouting_AsyncHandler(s DelegatedRouting_Server) pd4.HandlerFunc

func New_DelegatedRouting_Client

func New_DelegatedRouting_Client(endpoint string, opts ...DelegatedRouting_ClientOption) (*client_DelegatedRouting, error)

Types

type AnonInductive4

type AnonInductive4 struct {
	Identify      *DelegatedRouting_IdentifyArg
	GetP2PProvide *GetP2PProvideRequest
}

func (AnonInductive4) AsBool

func (x AnonInductive4) AsBool() (bool, error)

func (AnonInductive4) AsBytes

func (x AnonInductive4) AsBytes() ([]byte, error)

func (AnonInductive4) AsFloat

func (x AnonInductive4) AsFloat() (float64, error)

func (AnonInductive4) AsInt

func (x AnonInductive4) AsInt() (int64, error)
func (x AnonInductive4) AsLink() (pd3.Link, error)

func (AnonInductive4) AsString

func (x AnonInductive4) AsString() (string, error)

func (AnonInductive4) IsAbsent

func (x AnonInductive4) IsAbsent() bool

func (AnonInductive4) IsNull

func (x AnonInductive4) IsNull() bool

func (AnonInductive4) Kind

func (x AnonInductive4) Kind() pd3.Kind

func (AnonInductive4) Length

func (x AnonInductive4) Length() int64

func (AnonInductive4) ListIterator

func (x AnonInductive4) ListIterator() pd3.ListIterator

func (AnonInductive4) LookupByIndex

func (x AnonInductive4) LookupByIndex(idx int64) (pd3.Node, error)

func (AnonInductive4) LookupByNode

func (x AnonInductive4) LookupByNode(key pd3.Node) (pd3.Node, error)

func (AnonInductive4) LookupBySegment

func (x AnonInductive4) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (AnonInductive4) LookupByString

func (x AnonInductive4) LookupByString(key string) (pd3.Node, error)

func (AnonInductive4) MapIterator

func (x AnonInductive4) MapIterator() pd3.MapIterator

func (AnonInductive4) Node

func (x AnonInductive4) Node() pd3.Node

func (*AnonInductive4) Parse

func (x *AnonInductive4) Parse(n pd3.Node) error

func (AnonInductive4) Prototype

func (x AnonInductive4) Prototype() pd3.NodePrototype

type AnonInductive4_MapIterator

type AnonInductive4_MapIterator struct {
	// contains filtered or unexported fields
}

func (*AnonInductive4_MapIterator) Done

func (x *AnonInductive4_MapIterator) Done() bool

func (*AnonInductive4_MapIterator) Next

func (x *AnonInductive4_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type AnonInductive5

type AnonInductive5 struct {
	Identify      *DelegatedRouting_IdentifyResult
	GetP2PProvide *GetP2PProvideResponse
	Error         *DelegatedRouting_Error
}

func (AnonInductive5) AsBool

func (x AnonInductive5) AsBool() (bool, error)

func (AnonInductive5) AsBytes

func (x AnonInductive5) AsBytes() ([]byte, error)

func (AnonInductive5) AsFloat

func (x AnonInductive5) AsFloat() (float64, error)

func (AnonInductive5) AsInt

func (x AnonInductive5) AsInt() (int64, error)
func (x AnonInductive5) AsLink() (pd3.Link, error)

func (AnonInductive5) AsString

func (x AnonInductive5) AsString() (string, error)

func (AnonInductive5) IsAbsent

func (x AnonInductive5) IsAbsent() bool

func (AnonInductive5) IsNull

func (x AnonInductive5) IsNull() bool

func (AnonInductive5) Kind

func (x AnonInductive5) Kind() pd3.Kind

func (AnonInductive5) Length

func (x AnonInductive5) Length() int64

func (AnonInductive5) ListIterator

func (x AnonInductive5) ListIterator() pd3.ListIterator

func (AnonInductive5) LookupByIndex

func (x AnonInductive5) LookupByIndex(idx int64) (pd3.Node, error)

func (AnonInductive5) LookupByNode

func (x AnonInductive5) LookupByNode(key pd3.Node) (pd3.Node, error)

func (AnonInductive5) LookupBySegment

func (x AnonInductive5) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (AnonInductive5) LookupByString

func (x AnonInductive5) LookupByString(key string) (pd3.Node, error)

func (AnonInductive5) MapIterator

func (x AnonInductive5) MapIterator() pd3.MapIterator

func (AnonInductive5) Node

func (x AnonInductive5) Node() pd3.Node

func (*AnonInductive5) Parse

func (x *AnonInductive5) Parse(n pd3.Node) error

func (AnonInductive5) Prototype

func (x AnonInductive5) Prototype() pd3.NodePrototype

type AnonInductive5_MapIterator

type AnonInductive5_MapIterator struct {
	// contains filtered or unexported fields
}

func (*AnonInductive5_MapIterator) Done

func (x *AnonInductive5_MapIterator) Done() bool

func (*AnonInductive5_MapIterator) Next

func (x *AnonInductive5_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type AnonList1

type AnonList1 []pd1.String

func (AnonList1) AsBool

func (v AnonList1) AsBool() (bool, error)

func (AnonList1) AsBytes

func (AnonList1) AsBytes() ([]byte, error)

func (AnonList1) AsFloat

func (AnonList1) AsFloat() (float64, error)

func (AnonList1) AsInt

func (AnonList1) AsInt() (int64, error)
func (AnonList1) AsLink() (pd3.Link, error)

func (AnonList1) AsString

func (AnonList1) AsString() (string, error)

func (AnonList1) IsAbsent

func (AnonList1) IsAbsent() bool

func (AnonList1) IsNull

func (AnonList1) IsNull() bool

func (AnonList1) Kind

func (AnonList1) Kind() pd3.Kind

func (AnonList1) Length

func (v AnonList1) Length() int64

func (AnonList1) ListIterator

func (v AnonList1) ListIterator() pd3.ListIterator

func (AnonList1) LookupByIndex

func (v AnonList1) LookupByIndex(i int64) (pd3.Node, error)

func (AnonList1) LookupByNode

func (AnonList1) LookupByNode(key pd3.Node) (pd3.Node, error)

func (AnonList1) LookupBySegment

func (v AnonList1) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (AnonList1) LookupByString

func (AnonList1) LookupByString(string) (pd3.Node, error)

func (AnonList1) MapIterator

func (AnonList1) MapIterator() pd3.MapIterator

func (AnonList1) Node

func (v AnonList1) Node() pd3.Node

func (*AnonList1) Parse

func (v *AnonList1) Parse(n pd3.Node) error

func (AnonList1) Prototype

func (AnonList1) Prototype() pd3.NodePrototype

type AnonList13

type AnonList13 []Node

func (AnonList13) AsBool

func (v AnonList13) AsBool() (bool, error)

func (AnonList13) AsBytes

func (AnonList13) AsBytes() ([]byte, error)

func (AnonList13) AsFloat

func (AnonList13) AsFloat() (float64, error)

func (AnonList13) AsInt

func (AnonList13) AsInt() (int64, error)
func (AnonList13) AsLink() (pd3.Link, error)

func (AnonList13) AsString

func (AnonList13) AsString() (string, error)

func (AnonList13) IsAbsent

func (AnonList13) IsAbsent() bool

func (AnonList13) IsNull

func (AnonList13) IsNull() bool

func (AnonList13) Kind

func (AnonList13) Kind() pd3.Kind

func (AnonList13) Length

func (v AnonList13) Length() int64

func (AnonList13) ListIterator

func (v AnonList13) ListIterator() pd3.ListIterator

func (AnonList13) LookupByIndex

func (v AnonList13) LookupByIndex(i int64) (pd3.Node, error)

func (AnonList13) LookupByNode

func (AnonList13) LookupByNode(key pd3.Node) (pd3.Node, error)

func (AnonList13) LookupBySegment

func (v AnonList13) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (AnonList13) LookupByString

func (AnonList13) LookupByString(string) (pd3.Node, error)

func (AnonList13) MapIterator

func (AnonList13) MapIterator() pd3.MapIterator

func (AnonList13) Node

func (v AnonList13) Node() pd3.Node

func (*AnonList13) Parse

func (v *AnonList13) Parse(n pd3.Node) error

func (AnonList13) Prototype

func (AnonList13) Prototype() pd3.NodePrototype

type AnonList13_ListIterator

type AnonList13_ListIterator struct {
	// contains filtered or unexported fields
}

func (*AnonList13_ListIterator) Done

func (iter *AnonList13_ListIterator) Done() bool

func (*AnonList13_ListIterator) Next

func (iter *AnonList13_ListIterator) Next() (int64, pd3.Node, error)

type AnonList14

type AnonList14 []TransferProto

func (AnonList14) AsBool

func (v AnonList14) AsBool() (bool, error)

func (AnonList14) AsBytes

func (AnonList14) AsBytes() ([]byte, error)

func (AnonList14) AsFloat

func (AnonList14) AsFloat() (float64, error)

func (AnonList14) AsInt

func (AnonList14) AsInt() (int64, error)
func (AnonList14) AsLink() (pd3.Link, error)

func (AnonList14) AsString

func (AnonList14) AsString() (string, error)

func (AnonList14) IsAbsent

func (AnonList14) IsAbsent() bool

func (AnonList14) IsNull

func (AnonList14) IsNull() bool

func (AnonList14) Kind

func (AnonList14) Kind() pd3.Kind

func (AnonList14) Length

func (v AnonList14) Length() int64

func (AnonList14) ListIterator

func (v AnonList14) ListIterator() pd3.ListIterator

func (AnonList14) LookupByIndex

func (v AnonList14) LookupByIndex(i int64) (pd3.Node, error)

func (AnonList14) LookupByNode

func (AnonList14) LookupByNode(key pd3.Node) (pd3.Node, error)

func (AnonList14) LookupBySegment

func (v AnonList14) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (AnonList14) LookupByString

func (AnonList14) LookupByString(string) (pd3.Node, error)

func (AnonList14) MapIterator

func (AnonList14) MapIterator() pd3.MapIterator

func (AnonList14) Node

func (v AnonList14) Node() pd3.Node

func (*AnonList14) Parse

func (v *AnonList14) Parse(n pd3.Node) error

func (AnonList14) Prototype

func (AnonList14) Prototype() pd3.NodePrototype

type AnonList14_ListIterator

type AnonList14_ListIterator struct {
	// contains filtered or unexported fields
}

func (*AnonList14_ListIterator) Done

func (iter *AnonList14_ListIterator) Done() bool

func (*AnonList14_ListIterator) Next

func (iter *AnonList14_ListIterator) Next() (int64, pd3.Node, error)

type AnonList17

type AnonList17 []pd1.Bytes

func (AnonList17) AsBool

func (v AnonList17) AsBool() (bool, error)

func (AnonList17) AsBytes

func (AnonList17) AsBytes() ([]byte, error)

func (AnonList17) AsFloat

func (AnonList17) AsFloat() (float64, error)

func (AnonList17) AsInt

func (AnonList17) AsInt() (int64, error)
func (AnonList17) AsLink() (pd3.Link, error)

func (AnonList17) AsString

func (AnonList17) AsString() (string, error)

func (AnonList17) IsAbsent

func (AnonList17) IsAbsent() bool

func (AnonList17) IsNull

func (AnonList17) IsNull() bool

func (AnonList17) Kind

func (AnonList17) Kind() pd3.Kind

func (AnonList17) Length

func (v AnonList17) Length() int64

func (AnonList17) ListIterator

func (v AnonList17) ListIterator() pd3.ListIterator

func (AnonList17) LookupByIndex

func (v AnonList17) LookupByIndex(i int64) (pd3.Node, error)

func (AnonList17) LookupByNode

func (AnonList17) LookupByNode(key pd3.Node) (pd3.Node, error)

func (AnonList17) LookupBySegment

func (v AnonList17) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (AnonList17) LookupByString

func (AnonList17) LookupByString(string) (pd3.Node, error)

func (AnonList17) MapIterator

func (AnonList17) MapIterator() pd3.MapIterator

func (AnonList17) Node

func (v AnonList17) Node() pd3.Node

func (*AnonList17) Parse

func (v *AnonList17) Parse(n pd3.Node) error

func (AnonList17) Prototype

func (AnonList17) Prototype() pd3.NodePrototype

type AnonList17_ListIterator

type AnonList17_ListIterator struct {
	// contains filtered or unexported fields
}

func (*AnonList17_ListIterator) Done

func (iter *AnonList17_ListIterator) Done() bool

func (*AnonList17_ListIterator) Next

func (iter *AnonList17_ListIterator) Next() (int64, pd3.Node, error)

type AnonList1_ListIterator

type AnonList1_ListIterator struct {
	// contains filtered or unexported fields
}

func (*AnonList1_ListIterator) Done

func (iter *AnonList1_ListIterator) Done() bool

func (*AnonList1_ListIterator) Next

func (iter *AnonList1_ListIterator) Next() (int64, pd3.Node, error)

type AnonList7

type AnonList7 []Multihash

func (AnonList7) AsBool

func (v AnonList7) AsBool() (bool, error)

func (AnonList7) AsBytes

func (AnonList7) AsBytes() ([]byte, error)

func (AnonList7) AsFloat

func (AnonList7) AsFloat() (float64, error)

func (AnonList7) AsInt

func (AnonList7) AsInt() (int64, error)
func (AnonList7) AsLink() (pd3.Link, error)

func (AnonList7) AsString

func (AnonList7) AsString() (string, error)

func (AnonList7) IsAbsent

func (AnonList7) IsAbsent() bool

func (AnonList7) IsNull

func (AnonList7) IsNull() bool

func (AnonList7) Kind

func (AnonList7) Kind() pd3.Kind

func (AnonList7) Length

func (v AnonList7) Length() int64

func (AnonList7) ListIterator

func (v AnonList7) ListIterator() pd3.ListIterator

func (AnonList7) LookupByIndex

func (v AnonList7) LookupByIndex(i int64) (pd3.Node, error)

func (AnonList7) LookupByNode

func (AnonList7) LookupByNode(key pd3.Node) (pd3.Node, error)

func (AnonList7) LookupBySegment

func (v AnonList7) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (AnonList7) LookupByString

func (AnonList7) LookupByString(string) (pd3.Node, error)

func (AnonList7) MapIterator

func (AnonList7) MapIterator() pd3.MapIterator

func (AnonList7) Node

func (v AnonList7) Node() pd3.Node

func (*AnonList7) Parse

func (v *AnonList7) Parse(n pd3.Node) error

func (AnonList7) Prototype

func (AnonList7) Prototype() pd3.NodePrototype

type AnonList7_ListIterator

type AnonList7_ListIterator struct {
	// contains filtered or unexported fields
}

func (*AnonList7_ListIterator) Done

func (iter *AnonList7_ListIterator) Done() bool

func (*AnonList7_ListIterator) Next

func (iter *AnonList7_ListIterator) Next() (int64, pd3.Node, error)

type AnonList9

type AnonList9 []ProvidersByKey

func (AnonList9) AsBool

func (v AnonList9) AsBool() (bool, error)

func (AnonList9) AsBytes

func (AnonList9) AsBytes() ([]byte, error)

func (AnonList9) AsFloat

func (AnonList9) AsFloat() (float64, error)

func (AnonList9) AsInt

func (AnonList9) AsInt() (int64, error)
func (AnonList9) AsLink() (pd3.Link, error)

func (AnonList9) AsString

func (AnonList9) AsString() (string, error)

func (AnonList9) IsAbsent

func (AnonList9) IsAbsent() bool

func (AnonList9) IsNull

func (AnonList9) IsNull() bool

func (AnonList9) Kind

func (AnonList9) Kind() pd3.Kind

func (AnonList9) Length

func (v AnonList9) Length() int64

func (AnonList9) ListIterator

func (v AnonList9) ListIterator() pd3.ListIterator

func (AnonList9) LookupByIndex

func (v AnonList9) LookupByIndex(i int64) (pd3.Node, error)

func (AnonList9) LookupByNode

func (AnonList9) LookupByNode(key pd3.Node) (pd3.Node, error)

func (AnonList9) LookupBySegment

func (v AnonList9) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (AnonList9) LookupByString

func (AnonList9) LookupByString(string) (pd3.Node, error)

func (AnonList9) MapIterator

func (AnonList9) MapIterator() pd3.MapIterator

func (AnonList9) Node

func (v AnonList9) Node() pd3.Node

func (*AnonList9) Parse

func (v *AnonList9) Parse(n pd3.Node) error

func (AnonList9) Prototype

func (AnonList9) Prototype() pd3.NodePrototype

type AnonList9_ListIterator

type AnonList9_ListIterator struct {
	// contains filtered or unexported fields
}

func (*AnonList9_ListIterator) Done

func (iter *AnonList9_ListIterator) Done() bool

func (*AnonList9_ListIterator) Next

func (iter *AnonList9_ListIterator) Next() (int64, pd3.Node, error)

type BitswapTransfer

type BitswapTransfer struct {
}

func (BitswapTransfer) AsBool

func (x BitswapTransfer) AsBool() (bool, error)

func (BitswapTransfer) AsBytes

func (x BitswapTransfer) AsBytes() ([]byte, error)

func (BitswapTransfer) AsFloat

func (x BitswapTransfer) AsFloat() (float64, error)

func (BitswapTransfer) AsInt

func (x BitswapTransfer) AsInt() (int64, error)
func (x BitswapTransfer) AsLink() (pd3.Link, error)

func (BitswapTransfer) AsString

func (x BitswapTransfer) AsString() (string, error)

func (BitswapTransfer) IsAbsent

func (x BitswapTransfer) IsAbsent() bool

func (BitswapTransfer) IsNull

func (x BitswapTransfer) IsNull() bool

func (BitswapTransfer) Kind

func (x BitswapTransfer) Kind() pd3.Kind

func (BitswapTransfer) Length

func (x BitswapTransfer) Length() int64

func (BitswapTransfer) ListIterator

func (x BitswapTransfer) ListIterator() pd3.ListIterator

func (BitswapTransfer) LookupByIndex

func (x BitswapTransfer) LookupByIndex(idx int64) (pd3.Node, error)

func (BitswapTransfer) LookupByNode

func (x BitswapTransfer) LookupByNode(key pd3.Node) (pd3.Node, error)

func (BitswapTransfer) LookupBySegment

func (x BitswapTransfer) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (BitswapTransfer) LookupByString

func (x BitswapTransfer) LookupByString(key string) (pd3.Node, error)

func (BitswapTransfer) MapIterator

func (x BitswapTransfer) MapIterator() pd3.MapIterator

func (BitswapTransfer) Node

func (x BitswapTransfer) Node() pd3.Node

func (*BitswapTransfer) Parse

func (x *BitswapTransfer) Parse(n pd3.Node) error

func (BitswapTransfer) Prototype

func (x BitswapTransfer) Prototype() pd3.NodePrototype

type BitswapTransfer_MapIterator

type BitswapTransfer_MapIterator struct {
	// contains filtered or unexported fields
}

func (*BitswapTransfer_MapIterator) Done

func (*BitswapTransfer_MapIterator) Next

func (x *BitswapTransfer_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type DelegatedRouting_ClientOption

type DelegatedRouting_ClientOption func(*client_DelegatedRouting) error

func DelegatedRouting_Client_WithHTTPClient

func DelegatedRouting_Client_WithHTTPClient(hc *pd4.Client) DelegatedRouting_ClientOption

type DelegatedRouting_Error

type DelegatedRouting_Error struct {
	Code pd1.String
}

func (DelegatedRouting_Error) AsBool

func (x DelegatedRouting_Error) AsBool() (bool, error)

func (DelegatedRouting_Error) AsBytes

func (x DelegatedRouting_Error) AsBytes() ([]byte, error)

func (DelegatedRouting_Error) AsFloat

func (x DelegatedRouting_Error) AsFloat() (float64, error)

func (DelegatedRouting_Error) AsInt

func (x DelegatedRouting_Error) AsInt() (int64, error)
func (x DelegatedRouting_Error) AsLink() (pd3.Link, error)

func (DelegatedRouting_Error) AsString

func (x DelegatedRouting_Error) AsString() (string, error)

func (DelegatedRouting_Error) IsAbsent

func (x DelegatedRouting_Error) IsAbsent() bool

func (DelegatedRouting_Error) IsNull

func (x DelegatedRouting_Error) IsNull() bool

func (DelegatedRouting_Error) Kind

func (x DelegatedRouting_Error) Kind() pd3.Kind

func (DelegatedRouting_Error) Length

func (x DelegatedRouting_Error) Length() int64

func (DelegatedRouting_Error) ListIterator

func (x DelegatedRouting_Error) ListIterator() pd3.ListIterator

func (DelegatedRouting_Error) LookupByIndex

func (x DelegatedRouting_Error) LookupByIndex(idx int64) (pd3.Node, error)

func (DelegatedRouting_Error) LookupByNode

func (x DelegatedRouting_Error) LookupByNode(key pd3.Node) (pd3.Node, error)

func (DelegatedRouting_Error) LookupBySegment

func (x DelegatedRouting_Error) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (DelegatedRouting_Error) LookupByString

func (x DelegatedRouting_Error) LookupByString(key string) (pd3.Node, error)

func (DelegatedRouting_Error) MapIterator

func (x DelegatedRouting_Error) MapIterator() pd3.MapIterator

func (DelegatedRouting_Error) Node

func (x DelegatedRouting_Error) Node() pd3.Node

func (*DelegatedRouting_Error) Parse

func (x *DelegatedRouting_Error) Parse(n pd3.Node) error

func (DelegatedRouting_Error) Prototype

type DelegatedRouting_Error_MapIterator

type DelegatedRouting_Error_MapIterator struct {
	// contains filtered or unexported fields
}

func (*DelegatedRouting_Error_MapIterator) Done

func (*DelegatedRouting_Error_MapIterator) Next

func (x *DelegatedRouting_Error_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type DelegatedRouting_GetP2PProvide_AsyncResult

type DelegatedRouting_GetP2PProvide_AsyncResult struct {
	Resp *GetP2PProvideResponse
	Err  error
}

type DelegatedRouting_IdentifyArg

type DelegatedRouting_IdentifyArg struct {
}

func (DelegatedRouting_IdentifyArg) AsBool

func (x DelegatedRouting_IdentifyArg) AsBool() (bool, error)

func (DelegatedRouting_IdentifyArg) AsBytes

func (x DelegatedRouting_IdentifyArg) AsBytes() ([]byte, error)

func (DelegatedRouting_IdentifyArg) AsFloat

func (DelegatedRouting_IdentifyArg) AsInt

func (DelegatedRouting_IdentifyArg) AsString

func (x DelegatedRouting_IdentifyArg) AsString() (string, error)

func (DelegatedRouting_IdentifyArg) IsAbsent

func (x DelegatedRouting_IdentifyArg) IsAbsent() bool

func (DelegatedRouting_IdentifyArg) IsNull

func (DelegatedRouting_IdentifyArg) Kind

func (DelegatedRouting_IdentifyArg) Length

func (DelegatedRouting_IdentifyArg) ListIterator

func (DelegatedRouting_IdentifyArg) LookupByIndex

func (x DelegatedRouting_IdentifyArg) LookupByIndex(idx int64) (pd3.Node, error)

func (DelegatedRouting_IdentifyArg) LookupByNode

func (x DelegatedRouting_IdentifyArg) LookupByNode(key pd3.Node) (pd3.Node, error)

func (DelegatedRouting_IdentifyArg) LookupBySegment

func (x DelegatedRouting_IdentifyArg) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (DelegatedRouting_IdentifyArg) LookupByString

func (x DelegatedRouting_IdentifyArg) LookupByString(key string) (pd3.Node, error)

func (DelegatedRouting_IdentifyArg) MapIterator

func (DelegatedRouting_IdentifyArg) Node

func (*DelegatedRouting_IdentifyArg) Parse

func (DelegatedRouting_IdentifyArg) Prototype

type DelegatedRouting_IdentifyArg_MapIterator

type DelegatedRouting_IdentifyArg_MapIterator struct {
	// contains filtered or unexported fields
}

func (*DelegatedRouting_IdentifyArg_MapIterator) Done

func (*DelegatedRouting_IdentifyArg_MapIterator) Next

func (x *DelegatedRouting_IdentifyArg_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type DelegatedRouting_IdentifyResult

type DelegatedRouting_IdentifyResult struct {
	Methods AnonList1
}

func (DelegatedRouting_IdentifyResult) AsBool

func (DelegatedRouting_IdentifyResult) AsBytes

func (x DelegatedRouting_IdentifyResult) AsBytes() ([]byte, error)

func (DelegatedRouting_IdentifyResult) AsFloat

func (DelegatedRouting_IdentifyResult) AsInt

func (DelegatedRouting_IdentifyResult) AsString

func (DelegatedRouting_IdentifyResult) IsAbsent

func (DelegatedRouting_IdentifyResult) IsNull

func (DelegatedRouting_IdentifyResult) Kind

func (DelegatedRouting_IdentifyResult) Length

func (DelegatedRouting_IdentifyResult) ListIterator

func (DelegatedRouting_IdentifyResult) LookupByIndex

func (x DelegatedRouting_IdentifyResult) LookupByIndex(idx int64) (pd3.Node, error)

func (DelegatedRouting_IdentifyResult) LookupByNode

func (x DelegatedRouting_IdentifyResult) LookupByNode(key pd3.Node) (pd3.Node, error)

func (DelegatedRouting_IdentifyResult) LookupBySegment

func (x DelegatedRouting_IdentifyResult) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (DelegatedRouting_IdentifyResult) LookupByString

func (x DelegatedRouting_IdentifyResult) LookupByString(key string) (pd3.Node, error)

func (DelegatedRouting_IdentifyResult) MapIterator

func (DelegatedRouting_IdentifyResult) Node

func (*DelegatedRouting_IdentifyResult) Parse

func (DelegatedRouting_IdentifyResult) Prototype

type DelegatedRouting_IdentifyResult_MapIterator

type DelegatedRouting_IdentifyResult_MapIterator struct {
	// contains filtered or unexported fields
}

func (*DelegatedRouting_IdentifyResult_MapIterator) Done

func (*DelegatedRouting_IdentifyResult_MapIterator) Next

func (x *DelegatedRouting_IdentifyResult_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type DelegatedRouting_Identify_AsyncResult

type DelegatedRouting_Identify_AsyncResult struct {
	Resp *DelegatedRouting_IdentifyResult
	Err  error
}

type DelegatedRouting_Server

type DelegatedRouting_Server interface {
	GetP2PProvide(ctx pd7.Context, req *GetP2PProvideRequest) (<-chan *DelegatedRouting_GetP2PProvide_AsyncResult, error)
}

type GetP2PProvideRequest

type GetP2PProvideRequest struct {
	Keys AnonList7
}

func (GetP2PProvideRequest) AsBool

func (x GetP2PProvideRequest) AsBool() (bool, error)

func (GetP2PProvideRequest) AsBytes

func (x GetP2PProvideRequest) AsBytes() ([]byte, error)

func (GetP2PProvideRequest) AsFloat

func (x GetP2PProvideRequest) AsFloat() (float64, error)

func (GetP2PProvideRequest) AsInt

func (x GetP2PProvideRequest) AsInt() (int64, error)
func (x GetP2PProvideRequest) AsLink() (pd3.Link, error)

func (GetP2PProvideRequest) AsString

func (x GetP2PProvideRequest) AsString() (string, error)

func (GetP2PProvideRequest) IsAbsent

func (x GetP2PProvideRequest) IsAbsent() bool

func (GetP2PProvideRequest) IsNull

func (x GetP2PProvideRequest) IsNull() bool

func (GetP2PProvideRequest) Kind

func (x GetP2PProvideRequest) Kind() pd3.Kind

func (GetP2PProvideRequest) Length

func (x GetP2PProvideRequest) Length() int64

func (GetP2PProvideRequest) ListIterator

func (x GetP2PProvideRequest) ListIterator() pd3.ListIterator

func (GetP2PProvideRequest) LookupByIndex

func (x GetP2PProvideRequest) LookupByIndex(idx int64) (pd3.Node, error)

func (GetP2PProvideRequest) LookupByNode

func (x GetP2PProvideRequest) LookupByNode(key pd3.Node) (pd3.Node, error)

func (GetP2PProvideRequest) LookupBySegment

func (x GetP2PProvideRequest) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (GetP2PProvideRequest) LookupByString

func (x GetP2PProvideRequest) LookupByString(key string) (pd3.Node, error)

func (GetP2PProvideRequest) MapIterator

func (x GetP2PProvideRequest) MapIterator() pd3.MapIterator

func (GetP2PProvideRequest) Node

func (x GetP2PProvideRequest) Node() pd3.Node

func (*GetP2PProvideRequest) Parse

func (x *GetP2PProvideRequest) Parse(n pd3.Node) error

func (GetP2PProvideRequest) Prototype

func (x GetP2PProvideRequest) Prototype() pd3.NodePrototype

type GetP2PProvideRequest_MapIterator

type GetP2PProvideRequest_MapIterator struct {
	// contains filtered or unexported fields
}

func (*GetP2PProvideRequest_MapIterator) Done

func (*GetP2PProvideRequest_MapIterator) Next

func (x *GetP2PProvideRequest_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type GetP2PProvideResponse

type GetP2PProvideResponse struct {
	ProvidersByKey AnonList9
}

func (GetP2PProvideResponse) AsBool

func (x GetP2PProvideResponse) AsBool() (bool, error)

func (GetP2PProvideResponse) AsBytes

func (x GetP2PProvideResponse) AsBytes() ([]byte, error)

func (GetP2PProvideResponse) AsFloat

func (x GetP2PProvideResponse) AsFloat() (float64, error)

func (GetP2PProvideResponse) AsInt

func (x GetP2PProvideResponse) AsInt() (int64, error)
func (x GetP2PProvideResponse) AsLink() (pd3.Link, error)

func (GetP2PProvideResponse) AsString

func (x GetP2PProvideResponse) AsString() (string, error)

func (GetP2PProvideResponse) IsAbsent

func (x GetP2PProvideResponse) IsAbsent() bool

func (GetP2PProvideResponse) IsNull

func (x GetP2PProvideResponse) IsNull() bool

func (GetP2PProvideResponse) Kind

func (x GetP2PProvideResponse) Kind() pd3.Kind

func (GetP2PProvideResponse) Length

func (x GetP2PProvideResponse) Length() int64

func (GetP2PProvideResponse) ListIterator

func (x GetP2PProvideResponse) ListIterator() pd3.ListIterator

func (GetP2PProvideResponse) LookupByIndex

func (x GetP2PProvideResponse) LookupByIndex(idx int64) (pd3.Node, error)

func (GetP2PProvideResponse) LookupByNode

func (x GetP2PProvideResponse) LookupByNode(key pd3.Node) (pd3.Node, error)

func (GetP2PProvideResponse) LookupBySegment

func (x GetP2PProvideResponse) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (GetP2PProvideResponse) LookupByString

func (x GetP2PProvideResponse) LookupByString(key string) (pd3.Node, error)

func (GetP2PProvideResponse) MapIterator

func (x GetP2PProvideResponse) MapIterator() pd3.MapIterator

func (GetP2PProvideResponse) Node

func (x GetP2PProvideResponse) Node() pd3.Node

func (*GetP2PProvideResponse) Parse

func (x *GetP2PProvideResponse) Parse(n pd3.Node) error

func (GetP2PProvideResponse) Prototype

func (x GetP2PProvideResponse) Prototype() pd3.NodePrototype

type GetP2PProvideResponse_MapIterator

type GetP2PProvideResponse_MapIterator struct {
	// contains filtered or unexported fields
}

func (*GetP2PProvideResponse_MapIterator) Done

func (*GetP2PProvideResponse_MapIterator) Next

func (x *GetP2PProvideResponse_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type Multihash

type Multihash struct {
	Bytes pd1.Bytes
}

func (Multihash) AsBool

func (x Multihash) AsBool() (bool, error)

func (Multihash) AsBytes

func (x Multihash) AsBytes() ([]byte, error)

func (Multihash) AsFloat

func (x Multihash) AsFloat() (float64, error)

func (Multihash) AsInt

func (x Multihash) AsInt() (int64, error)
func (x Multihash) AsLink() (pd3.Link, error)

func (Multihash) AsString

func (x Multihash) AsString() (string, error)

func (Multihash) IsAbsent

func (x Multihash) IsAbsent() bool

func (Multihash) IsNull

func (x Multihash) IsNull() bool

func (Multihash) Kind

func (x Multihash) Kind() pd3.Kind

func (Multihash) Length

func (x Multihash) Length() int64

func (Multihash) ListIterator

func (x Multihash) ListIterator() pd3.ListIterator

func (Multihash) LookupByIndex

func (x Multihash) LookupByIndex(idx int64) (pd3.Node, error)

func (Multihash) LookupByNode

func (x Multihash) LookupByNode(key pd3.Node) (pd3.Node, error)

func (Multihash) LookupBySegment

func (x Multihash) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (Multihash) LookupByString

func (x Multihash) LookupByString(key string) (pd3.Node, error)

func (Multihash) MapIterator

func (x Multihash) MapIterator() pd3.MapIterator

func (Multihash) Node

func (x Multihash) Node() pd3.Node

func (*Multihash) Parse

func (x *Multihash) Parse(n pd3.Node) error

func (Multihash) Prototype

func (x Multihash) Prototype() pd3.NodePrototype

type Multihash_MapIterator

type Multihash_MapIterator struct {
	// contains filtered or unexported fields
}

func (*Multihash_MapIterator) Done

func (x *Multihash_MapIterator) Done() bool

func (*Multihash_MapIterator) Next

func (x *Multihash_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type Node

type Node struct {
	Peer *Peer
}

func (Node) AsBool

func (x Node) AsBool() (bool, error)

func (Node) AsBytes

func (x Node) AsBytes() ([]byte, error)

func (Node) AsFloat

func (x Node) AsFloat() (float64, error)

func (Node) AsInt

func (x Node) AsInt() (int64, error)
func (x Node) AsLink() (pd3.Link, error)

func (Node) AsString

func (x Node) AsString() (string, error)

func (Node) IsAbsent

func (x Node) IsAbsent() bool

func (Node) IsNull

func (x Node) IsNull() bool

func (Node) Kind

func (x Node) Kind() pd3.Kind

func (Node) Length

func (x Node) Length() int64

func (Node) ListIterator

func (x Node) ListIterator() pd3.ListIterator

func (Node) LookupByIndex

func (x Node) LookupByIndex(idx int64) (pd3.Node, error)

func (Node) LookupByNode

func (x Node) LookupByNode(key pd3.Node) (pd3.Node, error)

func (Node) LookupBySegment

func (x Node) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (Node) LookupByString

func (x Node) LookupByString(key string) (pd3.Node, error)

func (Node) MapIterator

func (x Node) MapIterator() pd3.MapIterator

func (Node) Node

func (x Node) Node() pd3.Node

func (*Node) Parse

func (x *Node) Parse(n pd3.Node) error

func (Node) Prototype

func (x Node) Prototype() pd3.NodePrototype

type Node_MapIterator

type Node_MapIterator struct {
	// contains filtered or unexported fields
}

func (*Node_MapIterator) Done

func (x *Node_MapIterator) Done() bool

func (*Node_MapIterator) Next

func (x *Node_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type Peer

type Peer struct {
	ID             pd1.Bytes
	Multiaddresses AnonList17
}

func (Peer) AsBool

func (x Peer) AsBool() (bool, error)

func (Peer) AsBytes

func (x Peer) AsBytes() ([]byte, error)

func (Peer) AsFloat

func (x Peer) AsFloat() (float64, error)

func (Peer) AsInt

func (x Peer) AsInt() (int64, error)
func (x Peer) AsLink() (pd3.Link, error)

func (Peer) AsString

func (x Peer) AsString() (string, error)

func (Peer) IsAbsent

func (x Peer) IsAbsent() bool

func (Peer) IsNull

func (x Peer) IsNull() bool

func (Peer) Kind

func (x Peer) Kind() pd3.Kind

func (Peer) Length

func (x Peer) Length() int64

func (Peer) ListIterator

func (x Peer) ListIterator() pd3.ListIterator

func (Peer) LookupByIndex

func (x Peer) LookupByIndex(idx int64) (pd3.Node, error)

func (Peer) LookupByNode

func (x Peer) LookupByNode(key pd3.Node) (pd3.Node, error)

func (Peer) LookupBySegment

func (x Peer) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (Peer) LookupByString

func (x Peer) LookupByString(key string) (pd3.Node, error)

func (Peer) MapIterator

func (x Peer) MapIterator() pd3.MapIterator

func (Peer) Node

func (x Peer) Node() pd3.Node

func (*Peer) Parse

func (x *Peer) Parse(n pd3.Node) error

func (Peer) Prototype

func (x Peer) Prototype() pd3.NodePrototype

type Peer_MapIterator

type Peer_MapIterator struct {
	// contains filtered or unexported fields
}

func (*Peer_MapIterator) Done

func (x *Peer_MapIterator) Done() bool

func (*Peer_MapIterator) Next

func (x *Peer_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type Provider

type Provider struct {
	Nodes AnonList13
	Proto AnonList14
}

func (Provider) AsBool

func (x Provider) AsBool() (bool, error)

func (Provider) AsBytes

func (x Provider) AsBytes() ([]byte, error)

func (Provider) AsFloat

func (x Provider) AsFloat() (float64, error)

func (Provider) AsInt

func (x Provider) AsInt() (int64, error)
func (x Provider) AsLink() (pd3.Link, error)

func (Provider) AsString

func (x Provider) AsString() (string, error)

func (Provider) IsAbsent

func (x Provider) IsAbsent() bool

func (Provider) IsNull

func (x Provider) IsNull() bool

func (Provider) Kind

func (x Provider) Kind() pd3.Kind

func (Provider) Length

func (x Provider) Length() int64

func (Provider) ListIterator

func (x Provider) ListIterator() pd3.ListIterator

func (Provider) LookupByIndex

func (x Provider) LookupByIndex(idx int64) (pd3.Node, error)

func (Provider) LookupByNode

func (x Provider) LookupByNode(key pd3.Node) (pd3.Node, error)

func (Provider) LookupBySegment

func (x Provider) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (Provider) LookupByString

func (x Provider) LookupByString(key string) (pd3.Node, error)

func (Provider) MapIterator

func (x Provider) MapIterator() pd3.MapIterator

func (Provider) Node

func (x Provider) Node() pd3.Node

func (*Provider) Parse

func (x *Provider) Parse(n pd3.Node) error

func (Provider) Prototype

func (x Provider) Prototype() pd3.NodePrototype

type Provider_MapIterator

type Provider_MapIterator struct {
	// contains filtered or unexported fields
}

func (*Provider_MapIterator) Done

func (x *Provider_MapIterator) Done() bool

func (*Provider_MapIterator) Next

func (x *Provider_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type ProvidersByKey

type ProvidersByKey struct {
	Key      Multihash
	Provider Provider
}

func (ProvidersByKey) AsBool

func (x ProvidersByKey) AsBool() (bool, error)

func (ProvidersByKey) AsBytes

func (x ProvidersByKey) AsBytes() ([]byte, error)

func (ProvidersByKey) AsFloat

func (x ProvidersByKey) AsFloat() (float64, error)

func (ProvidersByKey) AsInt

func (x ProvidersByKey) AsInt() (int64, error)
func (x ProvidersByKey) AsLink() (pd3.Link, error)

func (ProvidersByKey) AsString

func (x ProvidersByKey) AsString() (string, error)

func (ProvidersByKey) IsAbsent

func (x ProvidersByKey) IsAbsent() bool

func (ProvidersByKey) IsNull

func (x ProvidersByKey) IsNull() bool

func (ProvidersByKey) Kind

func (x ProvidersByKey) Kind() pd3.Kind

func (ProvidersByKey) Length

func (x ProvidersByKey) Length() int64

func (ProvidersByKey) ListIterator

func (x ProvidersByKey) ListIterator() pd3.ListIterator

func (ProvidersByKey) LookupByIndex

func (x ProvidersByKey) LookupByIndex(idx int64) (pd3.Node, error)

func (ProvidersByKey) LookupByNode

func (x ProvidersByKey) LookupByNode(key pd3.Node) (pd3.Node, error)

func (ProvidersByKey) LookupBySegment

func (x ProvidersByKey) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (ProvidersByKey) LookupByString

func (x ProvidersByKey) LookupByString(key string) (pd3.Node, error)

func (ProvidersByKey) MapIterator

func (x ProvidersByKey) MapIterator() pd3.MapIterator

func (ProvidersByKey) Node

func (x ProvidersByKey) Node() pd3.Node

func (*ProvidersByKey) Parse

func (x *ProvidersByKey) Parse(n pd3.Node) error

func (ProvidersByKey) Prototype

func (x ProvidersByKey) Prototype() pd3.NodePrototype

type ProvidersByKey_MapIterator

type ProvidersByKey_MapIterator struct {
	// contains filtered or unexported fields
}

func (*ProvidersByKey_MapIterator) Done

func (x *ProvidersByKey_MapIterator) Done() bool

func (*ProvidersByKey_MapIterator) Next

func (x *ProvidersByKey_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type TransferProto

type TransferProto struct {
	Bitswap *BitswapTransfer
}

func (TransferProto) AsBool

func (x TransferProto) AsBool() (bool, error)

func (TransferProto) AsBytes

func (x TransferProto) AsBytes() ([]byte, error)

func (TransferProto) AsFloat

func (x TransferProto) AsFloat() (float64, error)

func (TransferProto) AsInt

func (x TransferProto) AsInt() (int64, error)
func (x TransferProto) AsLink() (pd3.Link, error)

func (TransferProto) AsString

func (x TransferProto) AsString() (string, error)

func (TransferProto) IsAbsent

func (x TransferProto) IsAbsent() bool

func (TransferProto) IsNull

func (x TransferProto) IsNull() bool

func (TransferProto) Kind

func (x TransferProto) Kind() pd3.Kind

func (TransferProto) Length

func (x TransferProto) Length() int64

func (TransferProto) ListIterator

func (x TransferProto) ListIterator() pd3.ListIterator

func (TransferProto) LookupByIndex

func (x TransferProto) LookupByIndex(idx int64) (pd3.Node, error)

func (TransferProto) LookupByNode

func (x TransferProto) LookupByNode(key pd3.Node) (pd3.Node, error)

func (TransferProto) LookupBySegment

func (x TransferProto) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (TransferProto) LookupByString

func (x TransferProto) LookupByString(key string) (pd3.Node, error)

func (TransferProto) MapIterator

func (x TransferProto) MapIterator() pd3.MapIterator

func (TransferProto) Node

func (x TransferProto) Node() pd3.Node

func (*TransferProto) Parse

func (x *TransferProto) Parse(n pd3.Node) error

func (TransferProto) Prototype

func (x TransferProto) Prototype() pd3.NodePrototype

type TransferProto_MapIterator

type TransferProto_MapIterator struct {
	// contains filtered or unexported fields
}

func (*TransferProto_MapIterator) Done

func (x *TransferProto_MapIterator) Done() bool

func (*TransferProto_MapIterator) Next

func (x *TransferProto_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

Jump to

Keyboard shortcuts

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