mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-17 04:30:03 +02:00
api/writer.go: add documentation about low-level interface
This commit is contained in:
parent
8b981a0bc0
commit
8881b2a529
1 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,8 @@ package api
|
|||
|
||||
// Writer interface defines the required methods
|
||||
// to send messages over an channel.
|
||||
//
|
||||
// This is a low-level interface typically implemented by backend drivers
|
||||
type Writer interface {
|
||||
// Write writes a message over a channel.
|
||||
// The message may or may not be buffered depending on the implementation.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue