kedge: github.com/improbable-eng/kedge/pkg/http/header Index | Files

package header

import "github.com/improbable-eng/kedge/pkg/http/header"

Index

Package Files

request.go response.go

Constants

const (
    // RequestKedgeRequestID header is used to specify RequestID.
    RequestKedgeRequestID = "X-Kedge-Request-ID"

    // RequestKedgeForceInfoLogs header is used to signal kedge, to log on info proxy error or OK request.
    RequestKedgeForceInfoLogs = "X-Kedge-Info-Logs"
)
const (
    // ResponseKedgeError header is used to expose in HTTP response real error why request was not proxied.
    ResponseKedgeError = "X-Kedge-Error"

    // ResponseKedgeError header is used to expose in HTTP respone error Type of the error resulting in request not proxied.
    ResponseKedgeErrorType = "X-Kedge-Error-Type"

    // ResponseWinchError header is used to expose in HTTP response real error why request was not proxied on winch side.
    ResponseWinchError = "X-Winch-Error"

    // ResponseWinchErrorType header is used to expose in HTTP respone error Type of the error resulting in request not proxied on winch side.
    ResponseWinchErrorType = "X-Winch-Error-Type"
)

Package header is imported by 5 packages. Updated 2020-01-01. Refresh now. Tools for package owners.