proto

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0, MIT Imports: 17 Imported by: 2

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
	FindProviders *FindProvidersRequest
	GetIPNS       *GetIPNSRequest
	PutIPNS       *PutIPNSRequest
	Provide       *ProvideRequest
}

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
	FindProviders *FindProvidersResponse
	GetIPNS       *GetIPNSResponse
	PutIPNS       *PutIPNSResponse
	Provide       *ProvideResponse
	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 AnonList14 added in v0.5.0

type AnonList14 []LinkToAny

func (AnonList14) AsBool added in v0.5.0

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

func (AnonList14) AsBytes added in v0.5.0

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

func (AnonList14) AsFloat added in v0.5.0

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

func (AnonList14) AsInt added in v0.5.0

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

func (AnonList14) AsString added in v0.5.0

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

func (AnonList14) IsAbsent added in v0.5.0

func (AnonList14) IsAbsent() bool

func (AnonList14) IsNull added in v0.5.0

func (AnonList14) IsNull() bool

func (AnonList14) Kind added in v0.5.0

func (AnonList14) Kind() pd3.Kind

func (AnonList14) Length added in v0.5.0

func (v AnonList14) Length() int64

func (AnonList14) ListIterator added in v0.5.0

func (v AnonList14) ListIterator() pd3.ListIterator

func (AnonList14) LookupByIndex added in v0.5.0

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

func (AnonList14) LookupByNode added in v0.5.0

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

func (AnonList14) LookupBySegment added in v0.5.0

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

func (AnonList14) LookupByString added in v0.5.0

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

func (AnonList14) MapIterator added in v0.5.0

func (AnonList14) MapIterator() pd3.MapIterator

func (AnonList14) Node added in v0.5.0

func (v AnonList14) Node() pd3.Node

func (*AnonList14) Parse added in v0.5.0

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

func (AnonList14) Prototype added in v0.5.0

func (AnonList14) Prototype() pd3.NodePrototype

type AnonList14_ListIterator added in v0.5.0

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

func (*AnonList14_ListIterator) Done added in v0.5.0

func (iter *AnonList14_ListIterator) Done() bool

func (*AnonList14_ListIterator) Next added in v0.5.0

func (iter *AnonList14_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 AnonList21 added in v0.5.0

type AnonList21 []pd1.Bytes

func (AnonList21) AsBool added in v0.5.0

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

func (AnonList21) AsBytes added in v0.5.0

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

func (AnonList21) AsFloat added in v0.5.0

func (AnonList21) AsFloat() (float64, error)

func (AnonList21) AsInt added in v0.5.0

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

func (AnonList21) AsString added in v0.5.0

func (AnonList21) AsString() (string, error)

func (AnonList21) IsAbsent added in v0.5.0

func (AnonList21) IsAbsent() bool

func (AnonList21) IsNull added in v0.5.0

func (AnonList21) IsNull() bool

func (AnonList21) Kind added in v0.5.0

func (AnonList21) Kind() pd3.Kind

func (AnonList21) Length added in v0.5.0

func (v AnonList21) Length() int64

func (AnonList21) ListIterator added in v0.5.0

func (v AnonList21) ListIterator() pd3.ListIterator

func (AnonList21) LookupByIndex added in v0.5.0

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

func (AnonList21) LookupByNode added in v0.5.0

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

func (AnonList21) LookupBySegment added in v0.5.0

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

func (AnonList21) LookupByString added in v0.5.0

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

func (AnonList21) MapIterator added in v0.5.0

func (AnonList21) MapIterator() pd3.MapIterator

func (AnonList21) Node added in v0.5.0

func (v AnonList21) Node() pd3.Node

func (*AnonList21) Parse added in v0.5.0

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

func (AnonList21) Prototype added in v0.5.0

func (AnonList21) Prototype() pd3.NodePrototype

type AnonList21_ListIterator added in v0.5.0

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

func (*AnonList21_ListIterator) Done added in v0.5.0

func (iter *AnonList21_ListIterator) Done() bool

func (*AnonList21_ListIterator) Next added in v0.5.0

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

type BitswapProtocol

type BitswapProtocol struct {
}

func (BitswapProtocol) AsBool

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

func (BitswapProtocol) AsBytes

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

func (BitswapProtocol) AsFloat

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

func (BitswapProtocol) AsInt

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

func (BitswapProtocol) AsString

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

func (BitswapProtocol) IsAbsent

func (x BitswapProtocol) IsAbsent() bool

func (BitswapProtocol) IsNull

func (x BitswapProtocol) IsNull() bool

func (BitswapProtocol) Kind

func (x BitswapProtocol) Kind() pd3.Kind

func (BitswapProtocol) Length

func (x BitswapProtocol) Length() int64

func (BitswapProtocol) ListIterator

func (x BitswapProtocol) ListIterator() pd3.ListIterator

func (BitswapProtocol) LookupByIndex

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

func (BitswapProtocol) LookupByNode

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

func (BitswapProtocol) LookupBySegment

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

func (BitswapProtocol) LookupByString

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

func (BitswapProtocol) MapIterator

func (x BitswapProtocol) MapIterator() pd3.MapIterator

func (BitswapProtocol) Node

func (x BitswapProtocol) Node() pd3.Node

func (*BitswapProtocol) Parse

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

func (BitswapProtocol) Prototype

func (x BitswapProtocol) Prototype() pd3.NodePrototype

type BitswapProtocol_MapIterator

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

func (*BitswapProtocol_MapIterator) Done

func (*BitswapProtocol_MapIterator) Next

func (x *BitswapProtocol_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_FindProviders_AsyncResult

type DelegatedRouting_FindProviders_AsyncResult struct {
	Resp *FindProvidersResponse
	Err  error
}

type DelegatedRouting_GetIPNS_AsyncResult

type DelegatedRouting_GetIPNS_AsyncResult struct {
	Resp *GetIPNSResponse
	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_Provide_AsyncResult added in v0.4.0

type DelegatedRouting_Provide_AsyncResult struct {
	Resp *ProvideResponse
	Err  error
}

type DelegatedRouting_PutIPNS_AsyncResult

type DelegatedRouting_PutIPNS_AsyncResult struct {
	Resp *PutIPNSResponse
	Err  error
}

type FindProvidersRequest

type FindProvidersRequest struct {
	Key LinkToAny
}

func (FindProvidersRequest) AsBool

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

func (FindProvidersRequest) AsBytes

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

func (FindProvidersRequest) AsFloat

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

func (FindProvidersRequest) AsInt

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

func (FindProvidersRequest) AsString

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

func (FindProvidersRequest) IsAbsent

func (x FindProvidersRequest) IsAbsent() bool

func (FindProvidersRequest) IsNull

func (x FindProvidersRequest) IsNull() bool

func (FindProvidersRequest) Kind

func (x FindProvidersRequest) Kind() pd3.Kind

func (FindProvidersRequest) Length

func (x FindProvidersRequest) Length() int64

func (FindProvidersRequest) ListIterator

func (x FindProvidersRequest) ListIterator() pd3.ListIterator

func (FindProvidersRequest) LookupByIndex

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

func (FindProvidersRequest) LookupByNode

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

func (FindProvidersRequest) LookupBySegment

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

func (FindProvidersRequest) LookupByString

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

func (FindProvidersRequest) MapIterator

func (x FindProvidersRequest) MapIterator() pd3.MapIterator

func (FindProvidersRequest) Node

func (x FindProvidersRequest) Node() pd3.Node

func (*FindProvidersRequest) Parse

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

func (FindProvidersRequest) Prototype

func (x FindProvidersRequest) Prototype() pd3.NodePrototype

type FindProvidersRequest_MapIterator

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

func (*FindProvidersRequest_MapIterator) Done

func (*FindProvidersRequest_MapIterator) Next

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

type FindProvidersResponse

type FindProvidersResponse struct {
	Providers ProvidersList
}

func (FindProvidersResponse) AsBool

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

func (FindProvidersResponse) AsBytes

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

func (FindProvidersResponse) AsFloat

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

func (FindProvidersResponse) AsInt

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

func (FindProvidersResponse) AsString

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

func (FindProvidersResponse) IsAbsent

func (x FindProvidersResponse) IsAbsent() bool

func (FindProvidersResponse) IsNull

func (x FindProvidersResponse) IsNull() bool

func (FindProvidersResponse) Kind

func (x FindProvidersResponse) Kind() pd3.Kind

func (FindProvidersResponse) Length

func (x FindProvidersResponse) Length() int64

func (FindProvidersResponse) ListIterator

func (x FindProvidersResponse) ListIterator() pd3.ListIterator

func (FindProvidersResponse) LookupByIndex

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

func (FindProvidersResponse) LookupByNode

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

func (FindProvidersResponse) LookupBySegment

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

func (FindProvidersResponse) LookupByString

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

func (FindProvidersResponse) MapIterator

func (x FindProvidersResponse) MapIterator() pd3.MapIterator

func (FindProvidersResponse) Node

func (x FindProvidersResponse) Node() pd3.Node

func (*FindProvidersResponse) Parse

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

func (FindProvidersResponse) Prototype

func (x FindProvidersResponse) Prototype() pd3.NodePrototype

type FindProvidersResponse_MapIterator

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

func (*FindProvidersResponse_MapIterator) Done

func (*FindProvidersResponse_MapIterator) Next

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

type GetIPNSRequest

type GetIPNSRequest struct {
	ID pd1.Bytes
}

func (GetIPNSRequest) AsBool

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

func (GetIPNSRequest) AsBytes

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

func (GetIPNSRequest) AsFloat

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

func (GetIPNSRequest) AsInt

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

func (GetIPNSRequest) AsString

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

func (GetIPNSRequest) IsAbsent

func (x GetIPNSRequest) IsAbsent() bool

func (GetIPNSRequest) IsNull

func (x GetIPNSRequest) IsNull() bool

func (GetIPNSRequest) Kind

func (x GetIPNSRequest) Kind() pd3.Kind

func (GetIPNSRequest) Length

func (x GetIPNSRequest) Length() int64

func (GetIPNSRequest) ListIterator

func (x GetIPNSRequest) ListIterator() pd3.ListIterator

func (GetIPNSRequest) LookupByIndex

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

func (GetIPNSRequest) LookupByNode

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

func (GetIPNSRequest) LookupBySegment

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

func (GetIPNSRequest) LookupByString

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

func (GetIPNSRequest) MapIterator

func (x GetIPNSRequest) MapIterator() pd3.MapIterator

func (GetIPNSRequest) Node

func (x GetIPNSRequest) Node() pd3.Node

func (*GetIPNSRequest) Parse

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

func (GetIPNSRequest) Prototype

func (x GetIPNSRequest) Prototype() pd3.NodePrototype

type GetIPNSRequest_MapIterator

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

func (*GetIPNSRequest_MapIterator) Done

func (x *GetIPNSRequest_MapIterator) Done() bool

func (*GetIPNSRequest_MapIterator) Next

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

type GetIPNSResponse

type GetIPNSResponse struct {
	Record pd1.Bytes
}

func (GetIPNSResponse) AsBool

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

func (GetIPNSResponse) AsBytes

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

func (GetIPNSResponse) AsFloat

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

func (GetIPNSResponse) AsInt

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

func (GetIPNSResponse) AsString

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

func (GetIPNSResponse) IsAbsent

func (x GetIPNSResponse) IsAbsent() bool

func (GetIPNSResponse) IsNull

func (x GetIPNSResponse) IsNull() bool

func (GetIPNSResponse) Kind

func (x GetIPNSResponse) Kind() pd3.Kind

func (GetIPNSResponse) Length

func (x GetIPNSResponse) Length() int64

func (GetIPNSResponse) ListIterator

func (x GetIPNSResponse) ListIterator() pd3.ListIterator

func (GetIPNSResponse) LookupByIndex

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

func (GetIPNSResponse) LookupByNode

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

func (GetIPNSResponse) LookupBySegment

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

func (GetIPNSResponse) LookupByString

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

func (GetIPNSResponse) MapIterator

func (x GetIPNSResponse) MapIterator() pd3.MapIterator

func (GetIPNSResponse) Node

func (x GetIPNSResponse) Node() pd3.Node

func (*GetIPNSResponse) Parse

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

func (GetIPNSResponse) Prototype

func (x GetIPNSResponse) Prototype() pd3.NodePrototype

type GetIPNSResponse_MapIterator

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

func (*GetIPNSResponse_MapIterator) Done

func (*GetIPNSResponse_MapIterator) Next

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

type GraphSyncFILv1Protocol

type GraphSyncFILv1Protocol struct {
	PieceCID      LinkToAny
	VerifiedDeal  pd1.Bool
	FastRetrieval pd1.Bool
}

func (GraphSyncFILv1Protocol) AsBool

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

func (GraphSyncFILv1Protocol) AsBytes

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

func (GraphSyncFILv1Protocol) AsFloat

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

func (GraphSyncFILv1Protocol) AsInt

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

func (GraphSyncFILv1Protocol) AsString

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

func (GraphSyncFILv1Protocol) IsAbsent

func (x GraphSyncFILv1Protocol) IsAbsent() bool

func (GraphSyncFILv1Protocol) IsNull

func (x GraphSyncFILv1Protocol) IsNull() bool

func (GraphSyncFILv1Protocol) Kind

func (x GraphSyncFILv1Protocol) Kind() pd3.Kind

func (GraphSyncFILv1Protocol) Length

func (x GraphSyncFILv1Protocol) Length() int64

func (GraphSyncFILv1Protocol) ListIterator

func (x GraphSyncFILv1Protocol) ListIterator() pd3.ListIterator

func (GraphSyncFILv1Protocol) LookupByIndex

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

func (GraphSyncFILv1Protocol) LookupByNode

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

func (GraphSyncFILv1Protocol) LookupBySegment

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

func (GraphSyncFILv1Protocol) LookupByString

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

func (GraphSyncFILv1Protocol) MapIterator

func (x GraphSyncFILv1Protocol) MapIterator() pd3.MapIterator

func (GraphSyncFILv1Protocol) Node

func (x GraphSyncFILv1Protocol) Node() pd3.Node

func (*GraphSyncFILv1Protocol) Parse

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

func (GraphSyncFILv1Protocol) Prototype

type GraphSyncFILv1Protocol_MapIterator

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

func (*GraphSyncFILv1Protocol_MapIterator) Done

func (*GraphSyncFILv1Protocol_MapIterator) Next

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

type LinkToAny

type LinkToAny pd16.Cid

func (LinkToAny) AsBool

func (LinkToAny) AsBool() (bool, error)

func (LinkToAny) AsBytes

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

func (LinkToAny) AsFloat

func (LinkToAny) AsFloat() (float64, error)

func (LinkToAny) AsInt

func (v LinkToAny) AsInt() (int64, error)
func (v LinkToAny) AsLink() (pd3.Link, error)

func (LinkToAny) AsString

func (LinkToAny) AsString() (string, error)

func (LinkToAny) IsAbsent

func (LinkToAny) IsAbsent() bool

func (LinkToAny) IsNull

func (LinkToAny) IsNull() bool

func (LinkToAny) Kind

func (LinkToAny) Kind() pd3.Kind

func (LinkToAny) Length

func (LinkToAny) Length() int64

func (LinkToAny) ListIterator

func (LinkToAny) ListIterator() pd3.ListIterator

func (LinkToAny) LookupByIndex

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

func (LinkToAny) LookupByNode

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

func (LinkToAny) LookupBySegment

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

func (LinkToAny) LookupByString

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

func (LinkToAny) MapIterator

func (LinkToAny) MapIterator() pd3.MapIterator

func (LinkToAny) Node

func (v LinkToAny) Node() pd3.Node

func (*LinkToAny) Parse

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

func (LinkToAny) Prototype

func (LinkToAny) Prototype() pd3.NodePrototype

type Node

type Node struct {
	Peer *Peer

	DefaultKey   string
	DefaultValue *pd1.Any
}

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 AnonList21
}

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 ProvideRequest added in v0.4.0

type ProvideRequest struct {
	Key         AnonList14
	Provider    Provider
	Timestamp   pd1.Int
	AdvisoryTTL pd1.Int
	Signature   pd1.Bytes
}

func (ProvideRequest) AsBool added in v0.4.0

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

func (ProvideRequest) AsBytes added in v0.4.0

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

func (ProvideRequest) AsFloat added in v0.4.0

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

func (ProvideRequest) AsInt added in v0.4.0

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

func (ProvideRequest) AsString added in v0.4.0

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

func (ProvideRequest) IsAbsent added in v0.4.0

func (x ProvideRequest) IsAbsent() bool

func (ProvideRequest) IsNull added in v0.4.0

func (x ProvideRequest) IsNull() bool

func (ProvideRequest) Kind added in v0.4.0

func (x ProvideRequest) Kind() pd3.Kind

func (ProvideRequest) Length added in v0.4.0

func (x ProvideRequest) Length() int64

func (ProvideRequest) ListIterator added in v0.4.0

func (x ProvideRequest) ListIterator() pd3.ListIterator

func (ProvideRequest) LookupByIndex added in v0.4.0

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

func (ProvideRequest) LookupByNode added in v0.4.0

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

func (ProvideRequest) LookupBySegment added in v0.4.0

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

func (ProvideRequest) LookupByString added in v0.4.0

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

func (ProvideRequest) MapIterator added in v0.4.0

func (x ProvideRequest) MapIterator() pd3.MapIterator

func (ProvideRequest) Node added in v0.4.0

func (x ProvideRequest) Node() pd3.Node

func (*ProvideRequest) Parse added in v0.4.0

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

func (ProvideRequest) Prototype added in v0.4.0

func (x ProvideRequest) Prototype() pd3.NodePrototype

type ProvideRequest_MapIterator added in v0.4.0

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

func (*ProvideRequest_MapIterator) Done added in v0.4.0

func (x *ProvideRequest_MapIterator) Done() bool

func (*ProvideRequest_MapIterator) Next added in v0.4.0

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

type ProvideResponse added in v0.4.0

type ProvideResponse struct {
	AdvisoryTTL pd1.Int
}

func (ProvideResponse) AsBool added in v0.4.0

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

func (ProvideResponse) AsBytes added in v0.4.0

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

func (ProvideResponse) AsFloat added in v0.4.0

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

func (ProvideResponse) AsInt added in v0.4.0

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

func (ProvideResponse) AsString added in v0.4.0

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

func (ProvideResponse) IsAbsent added in v0.4.0

func (x ProvideResponse) IsAbsent() bool

func (ProvideResponse) IsNull added in v0.4.0

func (x ProvideResponse) IsNull() bool

func (ProvideResponse) Kind added in v0.4.0

func (x ProvideResponse) Kind() pd3.Kind

func (ProvideResponse) Length added in v0.4.0

func (x ProvideResponse) Length() int64

func (ProvideResponse) ListIterator added in v0.4.0

func (x ProvideResponse) ListIterator() pd3.ListIterator

func (ProvideResponse) LookupByIndex added in v0.4.0

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

func (ProvideResponse) LookupByNode added in v0.4.0

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

func (ProvideResponse) LookupBySegment added in v0.4.0

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

func (ProvideResponse) LookupByString added in v0.4.0

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

func (ProvideResponse) MapIterator added in v0.4.0

func (x ProvideResponse) MapIterator() pd3.MapIterator

func (ProvideResponse) Node added in v0.4.0

func (x ProvideResponse) Node() pd3.Node

func (*ProvideResponse) Parse added in v0.4.0

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

func (ProvideResponse) Prototype added in v0.4.0

func (x ProvideResponse) Prototype() pd3.NodePrototype

type ProvideResponse_MapIterator added in v0.4.0

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

func (*ProvideResponse_MapIterator) Done added in v0.4.0

func (*ProvideResponse_MapIterator) Next added in v0.4.0

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

type Provider

type Provider struct {
	ProviderNode  Node
	ProviderProto TransferProtocolList
}

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 ProvidersList

type ProvidersList []Provider

func (ProvidersList) AsBool

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

func (ProvidersList) AsBytes

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

func (ProvidersList) AsFloat

func (ProvidersList) AsFloat() (float64, error)

func (ProvidersList) AsInt

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

func (ProvidersList) AsString

func (ProvidersList) AsString() (string, error)

func (ProvidersList) IsAbsent

func (ProvidersList) IsAbsent() bool

func (ProvidersList) IsNull

func (ProvidersList) IsNull() bool

func (ProvidersList) Kind

func (ProvidersList) Kind() pd3.Kind

func (ProvidersList) Length

func (v ProvidersList) Length() int64

func (ProvidersList) ListIterator

func (v ProvidersList) ListIterator() pd3.ListIterator

func (ProvidersList) LookupByIndex

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

func (ProvidersList) LookupByNode

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

func (ProvidersList) LookupBySegment

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

func (ProvidersList) LookupByString

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

func (ProvidersList) MapIterator

func (ProvidersList) MapIterator() pd3.MapIterator

func (ProvidersList) Node

func (v ProvidersList) Node() pd3.Node

func (*ProvidersList) Parse

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

func (ProvidersList) Prototype

func (ProvidersList) Prototype() pd3.NodePrototype

type ProvidersList_ListIterator

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

func (*ProvidersList_ListIterator) Done

func (iter *ProvidersList_ListIterator) Done() bool

func (*ProvidersList_ListIterator) Next

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

type PutIPNSRequest

type PutIPNSRequest struct {
	ID     pd1.Bytes
	Record pd1.Bytes
}

func (PutIPNSRequest) AsBool

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

func (PutIPNSRequest) AsBytes

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

func (PutIPNSRequest) AsFloat

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

func (PutIPNSRequest) AsInt

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

func (PutIPNSRequest) AsString

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

func (PutIPNSRequest) IsAbsent

func (x PutIPNSRequest) IsAbsent() bool

func (PutIPNSRequest) IsNull

func (x PutIPNSRequest) IsNull() bool

func (PutIPNSRequest) Kind

func (x PutIPNSRequest) Kind() pd3.Kind

func (PutIPNSRequest) Length

func (x PutIPNSRequest) Length() int64

func (PutIPNSRequest) ListIterator

func (x PutIPNSRequest) ListIterator() pd3.ListIterator

func (PutIPNSRequest) LookupByIndex

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

func (PutIPNSRequest) LookupByNode

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

func (PutIPNSRequest) LookupBySegment

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

func (PutIPNSRequest) LookupByString

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

func (PutIPNSRequest) MapIterator

func (x PutIPNSRequest) MapIterator() pd3.MapIterator

func (PutIPNSRequest) Node

func (x PutIPNSRequest) Node() pd3.Node

func (*PutIPNSRequest) Parse

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

func (PutIPNSRequest) Prototype

func (x PutIPNSRequest) Prototype() pd3.NodePrototype

type PutIPNSRequest_MapIterator

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

func (*PutIPNSRequest_MapIterator) Done

func (x *PutIPNSRequest_MapIterator) Done() bool

func (*PutIPNSRequest_MapIterator) Next

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

type PutIPNSResponse

type PutIPNSResponse struct {
}

func (PutIPNSResponse) AsBool

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

func (PutIPNSResponse) AsBytes

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

func (PutIPNSResponse) AsFloat

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

func (PutIPNSResponse) AsInt

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

func (PutIPNSResponse) AsString

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

func (PutIPNSResponse) IsAbsent

func (x PutIPNSResponse) IsAbsent() bool

func (PutIPNSResponse) IsNull

func (x PutIPNSResponse) IsNull() bool

func (PutIPNSResponse) Kind

func (x PutIPNSResponse) Kind() pd3.Kind

func (PutIPNSResponse) Length

func (x PutIPNSResponse) Length() int64

func (PutIPNSResponse) ListIterator

func (x PutIPNSResponse) ListIterator() pd3.ListIterator

func (PutIPNSResponse) LookupByIndex

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

func (PutIPNSResponse) LookupByNode

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

func (PutIPNSResponse) LookupBySegment

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

func (PutIPNSResponse) LookupByString

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

func (PutIPNSResponse) MapIterator

func (x PutIPNSResponse) MapIterator() pd3.MapIterator

func (PutIPNSResponse) Node

func (x PutIPNSResponse) Node() pd3.Node

func (*PutIPNSResponse) Parse

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

func (PutIPNSResponse) Prototype

func (x PutIPNSResponse) Prototype() pd3.NodePrototype

type PutIPNSResponse_MapIterator

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

func (*PutIPNSResponse_MapIterator) Done

func (*PutIPNSResponse_MapIterator) Next

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

type TransferProtocol

type TransferProtocol struct {
	Bitswap        *BitswapProtocol
	GraphSyncFILv1 *GraphSyncFILv1Protocol

	DefaultKey   string
	DefaultValue *pd1.Any
}

func (TransferProtocol) AsBool

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

func (TransferProtocol) AsBytes

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

func (TransferProtocol) AsFloat

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

func (TransferProtocol) AsInt

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

func (TransferProtocol) AsString

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

func (TransferProtocol) IsAbsent

func (x TransferProtocol) IsAbsent() bool

func (TransferProtocol) IsNull

func (x TransferProtocol) IsNull() bool

func (TransferProtocol) Kind

func (x TransferProtocol) Kind() pd3.Kind

func (TransferProtocol) Length

func (x TransferProtocol) Length() int64

func (TransferProtocol) ListIterator

func (x TransferProtocol) ListIterator() pd3.ListIterator

func (TransferProtocol) LookupByIndex

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

func (TransferProtocol) LookupByNode

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

func (TransferProtocol) LookupBySegment

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

func (TransferProtocol) LookupByString

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

func (TransferProtocol) MapIterator

func (x TransferProtocol) MapIterator() pd3.MapIterator

func (TransferProtocol) Node

func (x TransferProtocol) Node() pd3.Node

func (*TransferProtocol) Parse

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

func (TransferProtocol) Prototype

func (x TransferProtocol) Prototype() pd3.NodePrototype

type TransferProtocolList

type TransferProtocolList []TransferProtocol

func (TransferProtocolList) AsBool

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

func (TransferProtocolList) AsBytes

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

func (TransferProtocolList) AsFloat

func (TransferProtocolList) AsFloat() (float64, error)

func (TransferProtocolList) AsInt

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

func (TransferProtocolList) AsString

func (TransferProtocolList) AsString() (string, error)

func (TransferProtocolList) IsAbsent

func (TransferProtocolList) IsAbsent() bool

func (TransferProtocolList) IsNull

func (TransferProtocolList) IsNull() bool

func (TransferProtocolList) Kind

func (TransferProtocolList) Kind() pd3.Kind

func (TransferProtocolList) Length

func (v TransferProtocolList) Length() int64

func (TransferProtocolList) ListIterator

func (v TransferProtocolList) ListIterator() pd3.ListIterator

func (TransferProtocolList) LookupByIndex

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

func (TransferProtocolList) LookupByNode

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

func (TransferProtocolList) LookupBySegment

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

func (TransferProtocolList) LookupByString

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

func (TransferProtocolList) MapIterator

func (TransferProtocolList) MapIterator() pd3.MapIterator

func (TransferProtocolList) Node

func (v TransferProtocolList) Node() pd3.Node

func (*TransferProtocolList) Parse

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

func (TransferProtocolList) Prototype

type TransferProtocolList_ListIterator

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

func (*TransferProtocolList_ListIterator) Done

func (*TransferProtocolList_ListIterator) Next

type TransferProtocol_MapIterator

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

func (*TransferProtocol_MapIterator) Done

func (*TransferProtocol_MapIterator) Next

func (x *TransferProtocol_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