Documentation ¶
Index ¶
- Constants
- Variables
- func EnhanceJSON(rawMsg []byte, key, val string) []byte
- func EnhanceJsonWithTime(t time.Time, key string, resp []byte) []byte
- func Init()
- func IsNotEmptyString(s string) bool
- func ToBeDrained(job *jobsdb.JobT, destID, toAbortDestinationIDs string, ...) (bool, string)
- type DestinationWithSources
- type DrainStats
- type SendPostResponse
Constants ¶
View Source
const ( DRAIN_ERROR_CODE int = 410 // transformation(router or batch) ERROR_AT_TF = "transformation" // event delivery ERROR_AT_DEL = "delivery" // custom destination manager ERROR_AT_CUST = "custom" )
Variables ¶
View Source
var ( JobRetention time.Duration EmptyPayload = []byte(`{}`) )
Functions ¶
func EnhanceJSON ¶
rawMsg passed must be a valid JSON
func EnhanceJsonWithTime ¶ added in v1.12.0
func IsNotEmptyString ¶
func ToBeDrained ¶
Types ¶
type DestinationWithSources ¶ added in v1.9.0
type DestinationWithSources struct { Destination backendconfig.DestinationT Sources []backendconfig.SourceT }
type DrainStats ¶
type SendPostResponse ¶
Click to show internal directories.
Click to hide internal directories.