Versions in this module Expand all Collapse all v1 v1.0.0 Jul 3, 2023 Changes in this version + func EpochToTime(epoch int32) time.Time + type DealID struct + DealID int32 + type DealState struct + Client string + DealID int32 + Expiration time.Time + Label string + PieceCID string + PieceSize int64 + Provider string + Start time.Time + Verified bool + func (s DealState) AgeInYears() float64 + type Protocol struct + Addresses []abi.Multiaddrs + Name string + func (t *Protocol) MarshalCBOR(w io.Writer) error + func (t *Protocol) UnmarshalCBOR(r io.Reader) (err error) + type ProtocolName string + const Bitswap + const GraphSync + const HTTP + const HTTPS + const Libp2p + const WS + const WSS + type QueryResponse struct + Protocols []Protocol + func (t *QueryResponse) MarshalCBOR(w io.Writer) error + func (t *QueryResponse) UnmarshalCBOR(r io.Reader) (err error)