Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(discoveryURL string, name string, peer string, closeChan <-chan bool, startRoutine func(func())) ([]string, error)

Types

type Discoverer

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

func (*Discoverer) Do

func (d *Discoverer) Do(discoveryURL string, name string, peer string, closeChan <-chan bool, startRoutine func(func())) (peers []string, err error)

Source Files