Documentation ¶
Index ¶
- func CreateGRPCEndpoint(instancer sd.Instancer, hm grpcconn.HostMapper, service string, ...) endpoint.Endpoint
- func CreateHTTPEndpoint(instancer sd.Instancer, middleware endpoint.Middleware, operationName string, ...) endpoint.Endpoint
- func EncodeGenericRequest(route *mux.Route) kithttp.EncodeRequestFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateGRPCEndpoint ¶
func CreateGRPCEndpoint( instancer sd.Instancer, hm grpcconn.HostMapper, service string, middleware endpoint.Middleware, method string, reply interface{}, enc kitgrpc.EncodeRequestFunc, dec kitgrpc.DecodeResponseFunc, decError endpoint.Middleware, ) endpoint.Endpoint
CreateGRPCEndpoint wires a QR service Go kit method endpoint
func CreateHTTPEndpoint ¶
func CreateHTTPEndpoint( instancer sd.Instancer, middleware endpoint.Middleware, operationName string, encodeRequest kithttp.EncodeRequestFunc, decodeResponse kithttp.DecodeResponseFunc, ) endpoint.Endpoint
CreateHTTPEndpoint creates a Go kit client endpoint
func EncodeGenericRequest ¶
func EncodeGenericRequest(route *mux.Route) kithttp.EncodeRequestFunc
EncodeGenericRequest is a generic request encoder which can be used if we don't have to deal with URL parameters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.