elasticstream/data.go

13 lines
164 B
Go

package elasticstream
type Header struct {
ID string
Index string
Position int
}
type Data struct {
Header Header
Payload map[string]interface{}
}