1 2 3 4 5 6 7 8 9
package strategy import "github.com/go-kit/kit/endpoint" // Strategy yields endpoints to consumers according to some algorithm. type Strategy interface { Next() (endpoint.Endpoint, error) Stop() }