Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
Username string `json:"username"`
Message string `json:"message"`
Avatar string `json:"avatar"`
Encrypted bool `json:"encrypted"`
Leaving bool `json:"leaving"`
UUID string `json:"uuid"`
WS *websocket.Conn `json:"-"`
Users map[string]User `json:"users"`
}
Message object, defines attributes that a message will have
Click to show internal directories.
Click to hide internal directories.