Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Ok - ok Ok = "OK" // RequestBodyNil - Request body is nil RequestBodyNil = "Request body is nil" // InvalidRequestMethod - Request Method is invalid InvalidRequestMethod = "Invalid HTTP Request Method" // TooManyRequests - too many requests TooManyRequests = "Max Requests Limit reached" // NoWriteKeyInBasicAuth - Failed to read writeKey from header NoWriteKeyInBasicAuth = "Failed to read writeKey from header" // NoWriteKeyInQueryParams - Failed to read writeKey from Query Params NoWriteKeyInQueryParams = "Failed to read writeKey from Query Params" // RequestBodyReadFailed - Failed to read body from request RequestBodyReadFailed = "Failed to read body from request" // RequestBodyTooLarge - Request size exceeds max limit RequestBodyTooLarge = "Request size exceeds max limit" // InvalidWriteKey - Invalid Write Key InvalidWriteKey = "Invalid Write Key" // InvalidJSON - Invalid JSON InvalidJSON = "Invalid JSON" // InvalidWebhookSource - Source does not accept webhook events InvalidWebhookSource = "Source does not accept webhook events" // SourceTransformerResponseErrorReadFailed - Failed to read error from source transformer response SourceTransformerResponseErrorReadFailed = "Failed to read error from source transformer response" // SourceDisabled - write key is present, but the source for it is disabled. SourceDisabled = "Source is disabled" // SourceTransformerFailed - Internal server error in source transformer SourceTransformerFailed = "Internal server error in source transformer" // SourceTransformerFailedToReadOutput - Output not found in source transformer response SourceTransformerFailedToReadOutput = "Output not found in source transformer response" // SourceTransformerInvalidResponseFormat - Invalid format of source transformer response SourceTransformerInvalidResponseFormat = "Invalid format of source transformer response" // SourceTransformerInvalidOutputFormatInResponse - Invalid output format in source transformer response SourceTransformerInvalidOutputFormatInResponse = "Invalid output format in source transformer response" // SourceTransformerInvalidOutputJSON - Invalid output json in source transformer response SourceTransformerInvalidOutputJSON = "Invalid output json in source transformer response" // NonIdentifiableRequest - Request neither has anonymousId nor userId NonIdentifiableRequest = "Request neither has anonymousId nor userId" // ErrorInMarshal - Error while marshalling ErrorInMarshal = "Error while marshalling" // ErrorInParseForm - Error during parsing form ErrorInParseForm = "Error during parsing form" // ErrorInParseMultiform - Error during parsing multiform ErrorInParseMultiform = "Error during parsing multiform" // NotRudderEvent = Event is not a Valid Rudder Event NotRudderEvent = "Event is not a valid rudder event" // ContextDeadlineExceeded - context deadline exceeded ContextDeadlineExceeded = "context deadline exceeded" // GatewayTimeout - Gateway timeout GatewayTimeout = "Gateway timeout" )
Variables ¶
This section is empty.
Functions ¶
func GetErrorStatusCode ¶ added in v1.0.2
func GetPixelResponse ¶
func GetPixelResponse() string
func MakeResponse ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.