Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServeGRPCHTTP ¶
func ServeGRPCHTTP( ctx context.Context, l net.Listener, grpcServer *grpc.Server, httpServer *http.Server, ) error
ServeGRPCHTTP serves both a gRPC and an HTTP server on listener l. When the context is canceled, the servers will be gracefully shutdown and then the function will return.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.