# Packages
Package httpclient is *http.Client helpers.
# Functions
ContextKey constructs context key using name supplied.
GetIP returns the IP from given request.
HeaderFromContext - get header value from context we set "header" key on context to set forwarded request context.
NewHTTPValidationError - return new HTTPError caused by validation error.
NewValidator -.
ValueFromContext returns string value for certain ContextID.
# Constants
HTTPKeyRequestID contains key to HTTP Header requestID.
HTTPKeyTraceID contains key to HTTP Header traceID.
# Variables
ContextKeyHeader to store/obtains original http header from downstream.
ContextKeyRequestID to store/obtains requestID from context.
ContextKeyTraceID to store/obtains traceID from downstream context.
ContextKeyTranslator to store/obtains translator to/from request's context.
# Structs
ContextID is a struct which will be used as context key.
ErrorDetails ...
ErrorField -.
HTTPError -.
Validator - go-playground/validator wrapper.