d9509f5606
* Send PONG responses to PINGs * Split out client IDs for viewer counts vs. websocket IDs * WIP username change event * Display username changes * Revert commented out code * Add support for building from the current branch * Fix PONG * Make username changes have a unique ID * Add a version param to js to cachebust
11 lines
267 B
Go
11 lines
267 B
Go
package models
|
|
|
|
//NameChangeEvent represents a user changing their name in chat
|
|
type NameChangeEvent struct {
|
|
OldName string `json:"oldName"`
|
|
NewName string `json:"newName"`
|
|
Image string `json:"image"`
|
|
Type string `json:"type"`
|
|
ID string `json:"id"`
|
|
}
|