httpovergrpc

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2024 License: BSD-2-Clause Imports: 8 Imported by: 0

README

httpovergrpc

Go Reference

Proxy incoming HTTP requests over gRPC. The receiver calls the registered HTTP handler.

Documentation

Overview

Package httpovergrpc allows forwarding incoming HTTP requests to a gRPC receiver elsewhere. The gRPC receiver calls the registered handler.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Forwarder

func Forwarder(s grpc.ClientConnInterface) http.Handler

func Register

func Register(s grpc.ServiceRegistrar, handler http.Handler)

Register a gRPC service that forwards incoming HTTP-over-gRPC to the given handler.

Types

This section is empty.

Directories

Path Synopsis
proto
pb

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL