discovery

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2015 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceTag = "discovery.ipfs.io"

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifee

type Notifee interface {
	HandlePeerFound(peer.PeerInfo)
}

type Service

type Service interface {
	io.Closer
	RegisterNotifee(Notifee)
	UnregisterNotifee(Notifee)
}

func NewMdnsService

func NewMdnsService(peerhost host.Host, interval time.Duration) (Service, error)

Jump to

Keyboard shortcuts

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