From 2bd17d029615a7653367f3858cb9e7c9a2982fc4 Mon Sep 17 00:00:00 2001 From: Saxon Date: Wed, 3 Apr 2019 11:34:11 +1030 Subject: [PATCH] revid: removed restarter interface from senders.go as not required anymore --- revid/senders.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/revid/senders.go b/revid/senders.go index 7f093506..b8e73a21 100644 --- a/revid/senders.go +++ b/revid/senders.go @@ -123,12 +123,6 @@ func extractMeta(r string, log func(lvl int8, msg string, args ...interface{})) return nil } -// restart is an optional interface for loadSenders that -// can restart their connection. -type restarter interface { - restart() error -} - // fileSender implements loadSender for a local file destination. type fileSender struct { file *os.File @@ -208,8 +202,6 @@ type rtmpSender struct { data []byte } -var _ restarter = (*rtmpSender)(nil) - func newRtmpSender(url string, timeout uint, retries int, log func(lvl int8, msg string, args ...interface{})) (*rtmpSender, error) { var conn *rtmp.Conn var err error