Documentation ¶
Overview ¶
Deprecated: use github.com/libp2p/go-libp2p-core/routing instead.
Index ¶
Constants ¶
View Source
const ( // Deprecated: use github.com/libp2p/go-libp2p-core/routing/SendingQuery instead. SendingQuery = core.SendingQuery // Deprecated: use github.com/libp2p/go-libp2p-core/routing/PeerResponse instead. PeerResponse = core.PeerResponse // Deprecated: use github.com/libp2p/go-libp2p-core/routing/FinalPeer instead. FinalPeer = core.FinalPeer // Deprecated: use github.com/libp2p/go-libp2p-core/routing/QueryError instead. QueryError = core.QueryError // Deprecated: use github.com/libp2p/go-libp2p-core/routing/Provider instead. Provider = core.Provider // Deprecated: use github.com/libp2p/go-libp2p-core/routing/Value instead. Value = core.Value // Deprecated: use github.com/libp2p/go-libp2p-core/routing/AddingPeer instead. AddingPeer = core.AddingPeer // Deprecated: use github.com/libp2p/go-libp2p-core/routing/DialingPeer instead. DialingPeer = core.DialingPeer )
Variables ¶
View Source
var QueryEventBufferSize = core.QueryEventBufferSize
Deprecated: use github.com/libp2p/go-libp2p-core/routing/QueryEventBufferSize instead. Warning: it's impossible to alias a var in go, so reads and writes to this variable may be inaccurate or not have the intended effect.
Functions ¶
func PublishQueryEvent
deprecated
func PublishQueryEvent(ctx context.Context, ev *core.QueryEvent)
Deprecated: use github.com/libp2p/go-libp2p-core/routing/PublishQueryEvent instead.
func RegisterForQueryEvents
deprecated
Types ¶
type QueryEvent
deprecated
type QueryEvent = core.QueryEvent
Deprecated: use github.com/libp2p/go-libp2p-core/routing/QueryEvent instead.
type QueryEventType
deprecated
type QueryEventType = core.QueryEventType
Deprecated: use github.com/libp2p/go-libp2p-core/routing/QueryEventType instead.
Click to show internal directories.
Click to hide internal directories.