static

package
v0.0.0-...-b50c569 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

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

Publisher yields a set of static endpoints as produced by the passed factory.

func NewPublisher

func NewPublisher(instances []string, factory loadbalancer.Factory, logger log.Logger) Publisher

NewPublisher returns a static endpoint Publisher.

func (Publisher) Endpoints

func (p Publisher) Endpoints() ([]endpoint.Endpoint, error)

Endpoints implements Publisher.

Jump to

Keyboard shortcuts

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