func ParseURLs(values ...string) (FixedEndpoints, error) {
	urls, err := xhttp.ApplyURLParser(url.Parse, values...)
	if err != nil {
		return nil, err
	}
	return FixedEndpoints(urls), nil
}
ParseURLs parses each URL to produce a FixedEndpoints.  Each supplied URL should have a scheme
instead of being abbreviated, e.g. "http://hostname" or "http://hostname:1234" instead of "hostname" or "hostname:1234"
package fanout
import (
	"errors"
	"net/http"
	"net/url"
	"github.com/xmidt-org/webpa-common/v2/xhttp"
)
var (
	errNoConfiguredEndpoints = errors.New("No configured endpoints")
)
type Endpoints interface {
	FanoutURLs(*http.Request) ([]*url.URL, error)
}
type EndpointsFunc func(*http.Request) ([]*url.URL, error)
func (ef EndpointsFunc) FanoutURLs(original *http.Request) ([]*url.URL, error) {
	return ef(original)
}
func MustFanoutURLs(e Endpoints, original *http.Request) []*url.URL {
	endpointURLs, err := e.FanoutURLs(original)
	if err != nil {
		panic(err)
	}
	return endpointURLs
}
type FixedEndpoints []*url.URL