mock

package
v0.0.0-...-4d778f5 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mock

type Mock struct {
	// contains filtered or unexported fields
}

Mock is a mock discrovery.

func New

func New(ii ...*peers.Peer) *Mock

New is a mock discovery constructor.

func (*Mock) Discover

func (m *Mock) Discover(context.Context) <-chan *peers.Peer

Discover implements Discovery.

Jump to

Keyboard shortcuts

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