2024-10-03 12:40:46 +05:30
|
|
|
package elasticstream
|
|
|
|
|
2024-10-07 13:58:20 +05:30
|
|
|
type Header struct {
|
|
|
|
ID string
|
|
|
|
Index string
|
|
|
|
Position int
|
|
|
|
}
|
|
|
|
|
2024-10-03 12:40:46 +05:30
|
|
|
type Data struct {
|
2024-10-07 13:58:20 +05:30
|
|
|
Header Header
|
2024-10-03 12:40:46 +05:30
|
|
|
Payload map[string]interface{}
|
|
|
|
}
|