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