remove broadcast Config

This commit is contained in:
m1k1o
2020-09-27 01:34:33 +02:00
parent aa1a3ec413
commit 88c0337a16
4 changed files with 2 additions and 44 deletions

View File

@ -62,7 +62,6 @@ func init() {
Root: &config.Root{},
Server: &config.Server{},
Remote: &config.Remote{},
Broadcast: &config.Broadcast{},
WebRTC: &config.WebRTC{},
WebSocket: &config.WebSocket{},
}
@ -101,7 +100,6 @@ type Neko struct {
Version *Version
Root *config.Root
Remote *config.Remote
Broadcast *config.Broadcast
Server *config.Server
WebRTC *config.WebRTC
WebSocket *config.WebSocket
@ -120,7 +118,7 @@ func (neko *Neko) Preflight() {
}
func (neko *Neko) Start() {
broadcastManager := broadcast.New(neko.Remote, neko.Broadcast)
broadcastManager := broadcast.New(neko.Remote)
remoteManager := remote.New(neko.Remote, broadcastManager)
remoteManager.Start()