diff --git a/revid/senders.go b/revid/senders.go index cd219712..04c96566 100644 --- a/revid/senders.go +++ b/revid/senders.go @@ -52,6 +52,7 @@ type Sender interface { send(d []byte) error } +// Log is used by the multiSender. type Log func(level int8, message string, params ...interface{}) // multiSender implements io.Writer. It provides the capacity to send to multiple @@ -61,6 +62,7 @@ type multiSender struct { log Log } +// newMultiSender returns a pointer to a new multiSender. func newMultiSender(senders []loadSender, log Log) *multiSender { return &multiSender{ senders: senders,