Documentation
¶
Index ¶
Constants ¶
View Source
const ( REQUEST_LOG_FIELD_DURATION configura.Variable[string] = "REQUEST_LOG_FIELD_DURATION" REQUEST_LOG_FIELD_REQUEST_METHOD configura.Variable[string] = "REQUEST_LOG_FIELD_REQUEST_METHOD" REQUEST_LOG_FIELD_REQUEST_URL configura.Variable[string] = "REQUEST_LOG_FIELD_REQUEST_URL" REQUEST_LOG_FIELD_USER_AGENT configura.Variable[string] = "REQUEST_LOG_FIELD_USER_AGENT" REQUEST_LOG_FIELD_REQUEST_SIZE configura.Variable[string] = "REQUEST_LOG_FIELD_REQUEST_SIZE" REQUEST_LOG_FIELD_REMOTE_IP configura.Variable[string] = "REQUEST_LOG_FIELD_REMOTE_IP" REQUEST_LOG_FIELD_REFERER configura.Variable[string] = "REQUEST_LOG_FIELD_REFERER" REQUEST_LOG_FIELD_PROTOCOL configura.Variable[string] = "REQUEST_LOG_FIELD_PROTOCOL" REQUEST_LOG_FIELD_REQUEST_ID configura.Variable[string] = "REQUEST_LOG_FIELD_REQUEST_ID" REQUEST_LOG_FIELD_REAL_IP configura.Variable[string] = "REQUEST_LOG_FIELD_REAL_IP" REQUEST_LOG_FIELD_STATUS_CODE configura.Variable[string] = "REQUEST_LOG_FIELD_STATUS_CODE" REQUEST_LOG_FIELD_RESPONSE_SIZE configura.Variable[string] = "REQUEST_LOG_FIELD_RESPONSE_SIZE" REQUEST_LOG_FIELD_HOST configura.Variable[string] = "REQUEST_LOG_FIELD_HOST" REQUEST_LOG_FIELD_FINGERPRINT configura.Variable[string] = "REQUEST_LOG_FIELD_FINGERPRINT" )
View Source
const (
HTTP_HEADER_REAL_IP_OVERRIDE configura.Variable[string] = "HTTP_HEADER_REAL_IP" // Header to check for real IP address
)
Variables ¶
This section is empty.
Functions ¶
func GetIPAddressFromContext ¶
GetIPAddressFromContext retrieves the IP address from the context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.