gateway

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	XTenantID  = "X-Tenant-ID"
	XIndexKey  = "X-Index-Key"
	XRequestID = "X-Request-ID"
)

Variables

Functions

This section is empty.

Types

type GRPCGateway

type GRPCGateway struct {
	// contains filtered or unexported fields
}

func New

func New(grpcAddress, certFile, commonName, baseURL string, log *logrus.Logger) (*GRPCGateway, error)

func (*GRPCGateway) ServeHTTP

func (g *GRPCGateway) ServeHTTP(w http.ResponseWriter, req *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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