Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a http.Handler that forwards the request over gRPC.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements HTTPServer. HTTPServer is a generated interface that gRPC servers must implement.
func (Server) Handle ¶
func (s Server) Handle(ctx context.Context, r *httpgrpc.HTTPRequest) (*httpgrpc.HTTPResponse, error)
Handle implements HTTPServer.
Click to show internal directories.
Click to hide internal directories.