1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-18 04:40:03 +02:00

typo fixes and added comments

This commit is contained in:
Henrik Hautakoski 2024-08-26 13:08:58 +02:00
parent 48ca5e4f92
commit c769b6a700
7 changed files with 11 additions and 9 deletions

View file

@ -6,7 +6,7 @@ package api
// This is a low-level interface typically implemented by backend drivers
type Reader interface {
// Read a message from a channel.
// Read may block until a message is ready or an error occured.
// Read may block until a message is ready or an error occurred.
//
// io.EOF is returned from a reader when there is no more data to be read.
// If Read returns io.EOF all subsequent calls must also return io.EOF