kinesis-consumer/transformer.go
Harlow Ward b98adcf659 Rename Model to Record
To match the DSL of the Kinesis library rename the Model interface to
Record.
2014-11-15 15:54:54 -08:00

8 lines
213 B
Go

package connector
// Transformer is used to transform data (byte array) to a Record for
// processing in the application.
type Transformer interface {
ToRecord(data []byte) Record
FromRecord(r Record) []byte
}