owncast/models/chatListener.go
Bradley Hilton abb2f363af
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
2020-06-23 13:11:01 -07:00

9 lines
203 B
Go

package models
//ChatListener represents the listener for the chat server
type ChatListener interface {
ClientAdded(clientID string)
ClientRemoved(clientID string)
MessageSent(message ChatMessage)
}