2020-06-23 22:11:01 +02:00
|
|
|
package models
|
|
|
|
|
|
|
|
//ChatListener represents the listener for the chat server
|
|
|
|
type ChatListener interface {
|
2020-10-07 08:14:33 +02:00
|
|
|
ClientAdded(client Client)
|
2020-06-23 22:11:01 +02:00
|
|
|
ClientRemoved(clientID string)
|
|
|
|
MessageSent(message ChatMessage)
|
|
|
|
}
|