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

	makeCreateMerchantHandler(m, endpoints, options["CreateMerchant"])
	makeListMerchantHandler(m, endpoints, options["ListMerchant"])
	makeCreateProductHandler(m, endpoints, options["CreateProduct"])
	makeListProductHandler(m, endpoints, options["ListProduct"])

	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/inventorysvc").Subrouter()
	makeCreateMerchantHandler(m, endpoints, options["CreateMerchant"])
	makeListMerchantHandler(m, endpoints, options["ListMerchant"])
	makeCreateProductHandler(m, endpoints, options["CreateProduct"])
	makeListProductHandler(m, endpoints, options["ListProduct"])
	return m
}
func NewHTTPHandler ( endpoints endpoint . Endpoints , options map [ string ] [ ] kithttp . ServerOption ) http . Handler { m := mux . NewRouter ( ) m = m . PathPrefix ( " " ) . Subrouter ( ) makeCreateMerchantHandler ( m , endpoints , options [ " " ] ) makeListMerchantHandler ( m , endpoints , options [ " " ] ) makeCreateProductHandler ( m , endpoints , options [ " " ] ) makeListProductHandler ( 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 .