server

package
v1.0.34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Builder

func Builder() server.GRPCWebServiceBuilder

Builder creates a new gRPC web service builder, call it if you want to custom define your web services

func MetadataTraceCarrierOption

func MetadataTraceCarrierOption(deps grpcGatewayMuxOptionsDeps) runtime.ServeMuxOption

MetadataTraceCarrierOption is a nice trick to avoid creating an additional server span from REST to GRPC it will extract trace context from Headers and put that information into the Context without creating a new Span However if you would like to create a new Span on the REST layer, you should read how to do it here https://grpc-ecosystem.github.io/grpc-gateway/docs/customizingyourgateway.html scroll to "OpenTracing Support"

Types

This section is empty.

Directories

Path Synopsis
Package health is a reverse proxy.
Package health is a reverse proxy.
Package demopackage is a reverse proxy.
Package demopackage is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL