Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GRPCStatusToHTTPStatusCode ¶
GRPCStatusToHTTPStatusCode converts a GRPC status to an HTTP Status Code
func MethodFromString ¶
MethodFromString converts a method string to a httpapi.Method
func ProxyRequest ¶
func ProxyRequest(ctx context.Context, w http.ResponseWriter, r *http.Request, procedure string, conn *grpc.ClientConn, txid string, loggers ...logs.Writer)
ProxyRequest proxies an HTTP request through a GRPC connection compliant with httpgrpc/proto
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.