Documentation ¶
Index ¶
Constants ¶
View Source
const ( //Ok - ok Ok = "OK" //RequestBodyNil - Request body is nil RequestBodyNil = "Request body is nil" //TooManyRequests - too many requests TooManyRequests = "Max Events Limit reached. Dropping Events." //NoWriteKeyInBasicAuth - Failed to read writeKey from header NoWriteKeyInBasicAuth = "Failed to read writeKey from header" //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" )
Variables ¶
View Source
var CustomVal string
CustomVal is used as a key in the jobsDB customval column
Functions ¶
This section is empty.
Types ¶
type HandleT ¶
type HandleT struct {
// contains filtered or unexported fields
}
HandleT is the struct returned by the Setup call
type ResponseStatus ¶
type ResponseStatus struct {
// contains filtered or unexported fields
}
ResponseStatus holds gateway response status message and code
Click to show internal directories.
Click to hide internal directories.