revid: removed restarter interface from senders.go as not required anymore

This commit is contained in:
Saxon 2019-04-03 11:34:11 +10:30
parent b9e7c3ff8c
commit 2bd17d0296
1 changed files with 0 additions and 8 deletions

View File

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