abb2f363af
* Decouple the chat package from the core * Add rest api endpoints for the chat aspect
9 lines
203 B
Go
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)
|
|
}
|