types

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTPHeaderContentType     = "Content-Type"
	HTTPHeaderContentEncoding = "Content-Encoding"
	HTTPHeaderXForwardedFor   = "X-Forwarded-For"
	HTTPHeaderXForwardedProto = "X-Forwarded-Proto"
	HTTPHeaderXForwardedPort  = "X-Forwarded-Port"
	HTTPHeaderHost            = "host"
	HTTPHeaderContentLength   = "Content-Length"
	HTTPHeaderCookie          = "cookie"
	HTTPHeaderXRayTraceIDKey  = "x-amzn-trace-id"
)
View Source
const (
	AWSXRayTraceIDContextKey = "x-amzn-trace-id"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Adaptor

type Adaptor interface {
	ListenAndServe() error
	Shutdown(ctx context.Context) error
}

type AdaptorInitializer

type AdaptorInitializer func(addr string, h http.Handler, opts []interface{}) Adaptor

type EnvironmentDetector

type EnvironmentDetector func() bool

EnvironmentDetector Environment detect function

Jump to

Keyboard shortcuts

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