Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckChatOrigin ¶
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func NewConnection ¶
func NewConnection(c *chat.Chat, l *log.Logger) *Connection
func (*Connection) ListenToWs ¶
func (conn *Connection) ListenToWs(w http.ResponseWriter, r *http.Request)
type RoomCreation ¶
type RoomCreation struct {
Name string `json:"name"`
}
type Rooms ¶
type Rooms struct {
// contains filtered or unexported fields
}
func (*Rooms) CreateRoom ¶
func (r *Rooms) CreateRoom(w http.ResponseWriter, rq *http.Request)
Click to show internal directories.
Click to hide internal directories.