Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extractor ¶
type Extractor interface {
Name() string
Extract(args *ExtractorReq) (string, error)
}
Extractor define how to extract data from multi source
type ExtractorReq ¶
type ExtractorReq struct {
KeyVal []KeyVal
}
type Transformer ¶
type Transformer interface {
Name() string
Transform(data string, args *TransformerReq) (interface{}, error)
}
Transformer define how to transform origin data to target data
type TransformerReq ¶
type TransformerReq struct {
KeyVal []KeyVal
}
Click to show internal directories.
Click to hide internal directories.