func NewHTTPHandler(endpoints endpoint.Endpoints, options map[string][]kithttp.ServerOption) http.Handler {
	m := mux.NewRouter()
	m = m.PathPrefix("/v1/authzsvc").Subrouter()

	makeUpsertPolicyHandler(m, endpoints, options["UpsertPolicy"])
	makeListPolicyHandler(m, endpoints, options["ListPolicy"])
	makeRemovePolicyHandler(m, endpoints, options["RemovePolicy"])
	makeRemovePolicyBySubHandler(m, endpoints, options["RemovePolicyBySub"])

	return m
}
// NewHTTPHandler returns a handler that makes a
// set of endpoints available on predefined paths.
NewHTTPHandler returns a handler that makes a
set of endpoints available on predefined paths.
// NewHTTPHandler returns a handler that makes a // set of endpoints available on predefined paths .
func NewHTTPHandler(endpoints endpoint.Endpoints, options map[string][]kithttp.ServerOption) http.Handler {
	m := mux.NewRouter()
	m = m.PathPrefix("/v1/authzsvc").Subrouter()
	makeUpsertPolicyHandler(m, endpoints, options["UpsertPolicy"])
	makeListPolicyHandler(m, endpoints, options["ListPolicy"])
	makeRemovePolicyHandler(m, endpoints, options["RemovePolicy"])
	makeRemovePolicyBySubHandler(m, endpoints, options["RemovePolicyBySub"])
	return m
}
func NewHTTPHandler ( endpoints endpoint . Endpoints , options map [ string ] [ ] kithttp . ServerOption ) http . Handler { m := mux . NewRouter ( ) m = m . PathPrefix ( " " ) . Subrouter ( ) makeUpsertPolicyHandler ( m , endpoints , options [ " " ] ) makeListPolicyHandler ( m , endpoints , options [ " " ] ) makeRemovePolicyHandler ( m , endpoints , options [ " " ] ) makeRemovePolicyBySubHandler ( m , endpoints , options [ " " ] ) return m }
NewHTTPHandler returns a handler that makes a
set of endpoints available on predefined paths.
NewHTTPHandler returns a handler that makes a set of endpoints available on predefined paths .