Documentation ¶
Index ¶
Constants ¶
View Source
const ( BATCH = "BATCH" ROUTER_TRANSFORM = "ROUTER_TRANSFORM" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProxyRequestParams ¶ added in v1.0.2
type ProxyRequestParams struct { ResponseData integrations.PostParametersT DestName string JobID int64 BaseUrl string }
type Transformer ¶
type Transformer interface { Transform(transformType string, transformMessage *types.TransformMessageT) []types.DestinationJobT ProxyRequest(ctx context.Context, proxyReqParams *ProxyRequestParams) (statusCode int, respBody, contentType string) }
Transformer provides methods to transform events
func NewTransformer ¶
func NewTransformer(netClientTimeout, backendProxyTimeout time.Duration) Transformer
NewTransformer creates a new transformer
Click to show internal directories.
Click to hide internal directories.