Get rid of extra code.

master
Icedream 2018-04-12 08:01:59 +02:00
parent a3de2f8b19
commit 50e7125bce
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 0 additions and 7 deletions

View File

@ -1,18 +1,14 @@
package icecast_output
import (
"bytes"
"fmt"
"io"
"log"
"runtime"
"git.icedream.tech/icedream/uplink/app/authentication"
"git.icedream.tech/icedream/uplink/app/channels"
"git.icedream.tech/icedream/uplink/app/media"
"git.icedream.tech/icedream/uplink/app/servers/http"
"git.icedream.tech/icedream/uplink/app/streams"
humanize "github.com/dustin/go-humanize"
"github.com/gin-gonic/gin"
)
@ -29,7 +25,6 @@ func (instance *pluginInstance) SetAuthenticator(authenticator authentication.Au
func (instance *pluginInstance) SetChannelManager(channelManager *channels.ChannelManager) {
instance.channelManager = channelManager
// TODO - handle channel and container closure
}
@ -38,8 +33,6 @@ func (instance *pluginInstance) SetServer(server *httpserver.Server) {
}
func (instance *pluginInstance) Init() {
instance.ringBuffers = map[string]map[string]*rbuf.FixedSizeRingBuf{}
router := instance.server.Router
router.GET("/:channel/:container", func(ctx *gin.Context) {