1
0
Fork 0
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:
Henrik Hautakoski 2023-04-20 16:52:48 +02:00
parent 8b981a0bc0
commit 8881b2a529

View file

@ -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.