Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 []abi.Multiaddrs }
type ProtocolName ¶
type ProtocolName string
const ( GraphSync ProtocolName = "GraphSync" Bitswap ProtocolName = "bitswap" HTTP ProtocolName = "http" HTTPS ProtocolName = "https" Libp2p ProtocolName = "libp2p" WS ProtocolName = "ws" WSS ProtocolName = "wss" )
type QueryResponse ¶
type QueryResponse struct {
Protocols []Protocol
}
func (*QueryResponse) MarshalCBOR ¶
func (t *QueryResponse) MarshalCBOR(w io.Writer) error
func (*QueryResponse) UnmarshalCBOR ¶
func (t *QueryResponse) UnmarshalCBOR(r io.Reader) (err error)
Click to show internal directories.
Click to hide internal directories.