Skip to content

adds *httpgrpc.Server#64

Merged
jhump merged 2 commits into
masterfrom
jh/better-httpgrpc-server-api
Feb 23, 2022
Merged

adds *httpgrpc.Server#64
jhump merged 2 commits into
masterfrom
jh/better-httpgrpc-server-api

Conversation

@jhump

@jhump jhump commented Feb 17, 2022

Copy link
Copy Markdown
Contributor

This provides a simpler API for exposing services via gRPC-over-HTTP 1.1.

@jhump jhump force-pushed the jh/better-httpgrpc-server-api branch from 61f9b86 to b167c89 Compare February 17, 2022 20:14
Comment thread httpgrpc/server.go

// Server is a gRPC-over-HTTP server. It acts as a grpc.ServiceRegistrar,
// for registering server implementations, and also implements http.Handler,
// for exposing the services via HTTP.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should add:

var _ reflection.GRPCServer = (*Server)(nil)
var _ http.Handler = (*Server)(nil)
var _ grpc.ServiceRegistrar = (*Server)(nil)

@jhump jhump merged commit 9b5ad76 into master Feb 23, 2022
@jhump jhump deleted the jh/better-httpgrpc-server-api branch February 23, 2022 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants