owncast/models/chatListener.go
2020-11-12 15:14:59 -08:00

8 lines
203 B
Go

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