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