Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewParserProvider ¶
func NewParserProvider() *pp
Types ¶
type Parser ¶
type Parser interface { // ScanRecords walks through the body, extracts the document records, and writes them via mtx to the index ScanRecords(ctx context.Context, mtx persistence.ModelTx, idxId string, body io.Reader) (int64, error) }
Parser allows to scan data in a specific format and update the index records
Click to show internal directories.
Click to hide internal directories.