Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 358 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 358 Bytes

grpc-http-shared-port

Demo of grpc.Server#ServeHTTP

This is a small demo of grpc.Server#ServeHTTP, which allows you to run a gRPC and non-gRPC HTTP server on the same port.

Installation

go get github.com/iredelmeier/grpc-http-shared-port

With TLS

go run h2/main.go

With TLS

go run h2c/main.go