response

package
v0.0.0-...-c645305 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StatusCodeOK              = strconv.Itoa(http.StatusOK)
	StatusUnauthorized        = strconv.Itoa(http.StatusUnauthorized)
	StatusCodeForbidden       = strconv.Itoa(http.StatusForbidden)
	StatusCodeUnavailable     = strconv.Itoa(http.StatusServiceUnavailable)
	StatusCodeBadRequest      = strconv.Itoa(http.StatusBadRequest)
	StatusCodeTooManyRequests = strconv.Itoa(http.StatusTooManyRequests)
)

Functions

This section is empty.

Types

type Field

type Field string

Field is a list of fields returned in responses from the Echo server.

const (
	RequestIDField      Field = "X-Request-Id"
	ServiceVersionField Field = "ServiceVersion"
	ServicePortField    Field = "ServicePort"
	StatusCodeField     Field = "StatusCode"
	URLField            Field = "URL"
	HostField           Field = "Host"
	HostnameField       Field = "Hostname"
	MethodField         Field = "Method"
	ResponseHeader      Field = "ResponseHeader"
	ClusterField        Field = "Dest"
	IstioVersionField   Field = "IstioVersion"
	IPField             Field = "IP" // The Requester’s IP Address.
)

Jump to

Keyboard shortcuts

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