protoc-gen-go-micro/vendor/github.com/go-kit/kit/sd/fixed_subscriber.go

10 lines
266 B
Go
Raw Normal View History

package sd
import "github.com/go-kit/kit/endpoint"
// FixedSubscriber yields a fixed set of services.
type FixedSubscriber []endpoint.Endpoint
// Endpoints implements Subscriber.
func (s FixedSubscriber) Endpoints() ([]endpoint.Endpoint, error) { return s, nil }