Data represents raw data consumed by a baker input, possibly containing multiple records before they're parsed.
| 3 | // Data represents raw data consumed by a baker input, possibly |
| 4 | // containing multiple records before they're parsed. |
| 5 | type Data struct { |
| 6 | Bytes []byte // Bytes is the slice of raw bytes read by an input |
| 7 | Meta Metadata // Meta is filled by the input and holds metadata that will be associated to the records parsed from Bytes |
| 8 | } |
| 9 | |
| 10 | // Metadata about the input data; each Input will directly populate this |
| 11 | // map as appropriate. Consumers (filters) will access via Get() |
nothing calls this directly
no outgoing calls
no test coverage detected