Documentation ¶
Overview ¶
Package httpovergrpc implements a http/https service over grpc transport. The server side implementation will be responsible for dialing the proxied destination with the proper http method and credentials and then proxying the responses back to the caller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMetricViews ¶
func RegisterMetricViews() error
RegisterMetricViews registers all metric views for proxy for Opencensus to actively record.
Types ¶
type Option ¶
type Option func(s *Service)
Option defines the options to configure the HTTP over gRPC service.
func WithClient ¶
WithClient allows setting the http client for the HTTP over gRPC service.
type Service ¶
type Service struct { hpb.UnimplementedHTTPOverGRPCServer // contains filtered or unexported fields }
Service provides the HttpProxy RPC service definitions.
Click to show internal directories.
Click to hide internal directories.