From 86971ca0557e38244534a2a9408e3d81ed2448d3 Mon Sep 17 00:00:00 2001 From: Saxon Date: Fri, 29 Mar 2019 16:24:47 +1030 Subject: [PATCH] revid: simplified comments for sender Write methods --- revid/senders.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/revid/senders.go b/revid/senders.go index a8b77c35..53ae7e45 100644 --- a/revid/senders.go +++ b/revid/senders.go @@ -141,7 +141,7 @@ type fileSender struct { data []byte } -// Write implements io.Writer. This will attempt to load and send the data given. +// Write implements io.Writer. func (s *fileSender) Write(d []byte) (int, error) { err := s.load(d) if err != nil { @@ -191,7 +191,7 @@ type mtsSender struct { curPid int } -// Write implements io.Writer. This will attempt to load and send the data given. +// Write implements io.Writer. func (s *mtsSender) Write(d []byte) (int, error) { return write(s, d) } @@ -379,7 +379,7 @@ func newRtmpSender(url string, timeout uint, retries int, log func(lvl int8, msg return s, err } -// Write implements io.Writer. This will attempt to load and send the data given. +// Write implements io.Writer. func (s *rtmpSender) Write(d []byte) (int, error) { return write(s, d) } @@ -433,7 +433,7 @@ type rtpSender struct { data []byte } -// Write implements io.Writer. This will attempt to load and send the data given. +// Write implements io.Writer. func (s *rtpSender) Write(d []byte) (int, error) { return write(s, d) }