Codebase list golang-github-go-kit-kit / 7529000 loadbalancer / publisher.go
7529000

Tree @7529000 (Download .tar.gz)

publisher.go @7529000

8357da3
 
2766c93
8357da3
 
 
 
 
 
 
package loadbalancer

import "github.com/go-kit/kit/endpoint"

// Publisher describes something that provides a set of identical endpoints.
// Different publisher implementations exist for different kinds of service
// discovery systems.
type Publisher interface {
	Endpoints() ([]endpoint.Endpoint, error)
}