Documentation
¶
Index ¶
- func ExtractMessageFormValues(r *http.Request) domain.Message
- func ExtractMessageID(r *http.Request) (int, error)
- func GetChatView(db *pgxpool.Pool, isAdmin bool, urls domain.URLs) (domain.ChatView, error)
- func IssueAdminSession(w http.ResponseWriter, sessionID string)
- func ParseMessage(r *http.Request) (domain.Message, error)
- func ValidateNickname(msg domain.Message, bannedNicknames []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChatView ¶
func IssueAdminSession ¶
func IssueAdminSession(w http.ResponseWriter, sessionID string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.