Decouple chat from core and add chat rest api (#25)
* Decouple the chat package from the core * Add rest api endpoints for the chat aspect
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/gabek/owncast/config"
|
||||
"github.com/gabek/owncast/core/chat"
|
||||
"github.com/gabek/owncast/core/ffmpeg"
|
||||
"github.com/gabek/owncast/models"
|
||||
"github.com/gabek/owncast/utils"
|
||||
@@ -37,6 +38,8 @@ func Start() error {
|
||||
return err
|
||||
}
|
||||
|
||||
chat.Setup(ChatListenerImpl{})
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user