internal

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Space = " "
	Tcp   = "tcp"
	Slash = "/"
	Comma = ","

	HttpStatusHeader  = "http-code"
	HeaderContentType = "Content-Type"
	GrpcHeaderValue   = "application/grpc"
	RawHeaderValue    = "application/raw"

	GrpcStatusHeader      = "Grpc-Metadata-X-Http-Code"
	GrpcMetadataFormatter = "Grpc-Metadata-%s"
	GrpcGatewayUri        = "grpcgateway-uri"
	GrpcGatewayMethod     = "grpcgateway-method"
	GrpcGatewayProto      = "grpcgateway-proto"

	HeaderXRealIp       = "X-REAL-IP"
	HeaderXForwardedFor = "X-FORWARDED-FOR"
	HeaderAllowOrigin   = "Access-Control-Allow-Origin"
	HeaderAllowMethods  = "Access-Control-Allow-Methods"
	HeaderAllowHeaders  = "Access-Control-Allow-Headers"

	MethodOptions = "OPTIONS"
)
View Source
const EnumAsNumbers = "enum_as_numbers"
View Source
const NameAsProto = "name_as_proto"

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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