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)
Click to show internal directories.
Click to hide internal directories.