notifications

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2019 License: MIT Imports: 2 Imported by: 21

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

func RegisterForQueryEvents(ctx context.Context) (context.Context, <-chan *core.QueryEvent)

Deprecated: use github.com/libp2p/go-libp2p-core/routing/RegisterForQueryEvents instead.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL