MCPcopy Create free account
hub / github.com/AdRoll/baker / Data

Struct Data

api.go:5–8  ·  view source on GitHub ↗

Data represents raw data consumed by a baker input, possibly containing multiple records before they're parsed.

Source from the content-addressed store, hash-verified

3// Data represents raw data consumed by a baker input, possibly
4// containing multiple records before they're parsed.
5type 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()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected