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