[skip ci]add comment for EventWriter (#13369)

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
pull/13371/head
shaoyue 2021-12-14 20:05:09 +08:00 committed by GitHub
parent 18fbc167f8
commit a54d1ec674
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ func ReadDescriptorEvent(buffer io.Reader) (*descriptorEvent, error) {
}, nil
}
// EventWriter abstracts event writer
type EventWriter interface {
PayloadWriterInterface
// Finish set meta in header and no data can be added to event writer