Documentation ¶
Index ¶
- func CreateChatRoom(w http.ResponseWriter, r *http.Request)
- func Index(w http.ResponseWriter, _ *http.Request)
- func JoinChatRoom(w http.ResponseWriter, r *http.Request)
- func ServeWs(chatRoom *ChatRoom, w http.ResponseWriter, r *http.Request)
- func ServerAlive(w http.ResponseWriter, r *http.Request)
- func ShowChat(w http.ResponseWriter, r *http.Request)
- type ChatRoom
- type Client
- type Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateChatRoom ¶
func CreateChatRoom(w http.ResponseWriter, r *http.Request)
func JoinChatRoom ¶
func JoinChatRoom(w http.ResponseWriter, r *http.Request)
func ServerAlive ¶
func ServerAlive(w http.ResponseWriter, r *http.Request)
Types ¶
type ChatRoom ¶
func NewChatRoom ¶
func NewChatRoom() *ChatRoom
Click to show internal directories.
Click to hide internal directories.