Versions in this module Expand all Collapse all v1 v1.8.4 Mar 2, 2025 Changes in this version + var ErrGetFormFile = &SHandlerError + var ErrHasNotWritableChars = &SHandlerError + var ErrMessageNull = &SHandlerError + var ErrReadFile = &SHandlerError + var ErrReadFileSize = &SHandlerError + var ErrUnknownMessageType = &SHandlerError + var ErrUnwrapFile = &SHandlerError + var ErrUploadFile = &SHandlerError + func FilenameEscape(pFilename string) string + func GetMessageBytes(pR *http.Request) ([]byte, error) + func ReplaceTextToEmoji(pS string) string + func ReplaceTextToURLs(pS string) string + type IMessageBroker interface + Consume func(string) (SMessage, bool) + Produce func(string, SMessage) + func NewMessageBroker() IMessageBroker + type SHandlerError struct + func (err *SHandlerError) Error() string + type SMessage struct + FFileData string + FFileName template.HTML + FTextData template.HTML + FTimestamp string + func GetMessage(rawMsgBytes []byte, timestamp string) (SMessage, error) + type SSubscribe struct + FAddress string