Get rid of extra code.
parent
a3de2f8b19
commit
50e7125bce
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue