Versions in this module Expand all Collapse all v0 v0.1.0 May 25, 2019 v0.0.1 Mar 1, 2019 Changes in this version + var QueryEventBufferSize = 16 + func PublishQueryEvent(ctx context.Context, ev *QueryEvent) + func RegisterForQueryEvents(ctx context.Context) (context.Context, <-chan *QueryEvent) + type QueryEvent struct + Extra string + ID peer.ID + Responses []*pstore.PeerInfo + Type QueryEventType + func (qe *QueryEvent) MarshalJSON() ([]byte, error) + func (qe *QueryEvent) UnmarshalJSON(b []byte) error + type QueryEventType int + const AddingPeer + const DialingPeer + const FinalPeer + const PeerResponse + const Provider + const QueryError + const SendingQuery + const Value