Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeersResponse ¶ added in v0.13.0
type PeersResponse struct {
Peers []*types.PeerRecord
}
PeersResponse is the result of a GET Peers request.
type ProvidersResponse ¶ added in v0.13.0
type ProvidersResponse struct {
Providers RecordsArray
}
ProvidersResponse is the result of a GET Providers request.
type RecordsArray ¶ added in v0.13.0
RecordsArray is an array of types.Record
func (*RecordsArray) UnmarshalJSON ¶ added in v0.13.0
func (r *RecordsArray) UnmarshalJSON(b []byte) error
type WriteProvidersRequest
deprecated
Deprecated: protocol-agnostic provide is being worked on in IPIP-378:
func (*WriteProvidersRequest) UnmarshalJSON ¶
func (r *WriteProvidersRequest) UnmarshalJSON(b []byte) error
type WriteProvidersResponse
deprecated
Deprecated: protocol-agnostic provide is being worked on in IPIP-378:
func (*WriteProvidersResponse) UnmarshalJSON ¶
func (r *WriteProvidersResponse) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.