Documentation ¶
Index ¶
- Variables
- func AboutPage(pLogger logger.ILogger, pCfg config.IConfig) http.HandlerFunc
- func ErrorPage(pLogger logger.ILogger, pCfg config.IConfig, pTitle, pMessage string) http.HandlerFunc
- func FriendsChatPage(pCtx context.Context, pLogger logger.ILogger, pCfg config.IConfig, ...) http.HandlerFunc
- func FriendsChatWS(pBroker msgbroker.IMessageBroker) func(pWS *websocket.Conn)
- func FriendsPage(pCtx context.Context, pLogger logger.ILogger, pCfg config.IConfig) http.HandlerFunc
- func FriendsUploadPage(pCtx context.Context, pLogger logger.ILogger, pCfg config.IConfig) http.HandlerFunc
- func HandleIncomigHTTP(pCtx context.Context, pLogger logger.ILogger, pCfg config.IConfig, ...) http.HandlerFunc
- func IndexPage(pLogger logger.ILogger, pCfg config.IConfig) http.HandlerFunc
- func NotFoundPage(pLogger logger.ILogger, pCfg config.IConfig) http.HandlerFunc
- func SettingsPage(pCtx context.Context, pLogger logger.ILogger, pWrapper config.IWrapper) http.HandlerFunc
- type SHandlerError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrReadConnections = &SHandlerError{"read connections"} ErrReadOnlineConnections = &SHandlerError{"read online connections"} ErrGetAllConnections = &SHandlerError{"get all connections"} ErrGetSettings = &SHandlerError{"get settings"} ErrGetPublicKey = &SHandlerError{"get public key"} ErrUnknownMessageType = &SHandlerError{"unknown message type"} ErrUnwrapFile = &SHandlerError{"unwrap file"} ErrHasNotWritableChars = &SHandlerError{"had not writable chars"} ErrMessageNull = &SHandlerError{"message null"} ErrUndefinedPublicKey = &SHandlerError{"undefined public key"} ErrGetFriends = &SHandlerError{"get friends"} ErrLenMessageGtLimit = &SHandlerError{"len message > limit"} ErrGetMessageLimit = &SHandlerError{"get message limit"} ErrPushMessage = &SHandlerError{"push message"} ErrReadFile = &SHandlerError{"read file"} ErrReadFileSize = &SHandlerError{"read file size"} ErrGetFormFile = &SHandlerError{"get form file"} ErrUploadFile = &SHandlerError{"upload file"} )
Functions ¶
func FriendsChatPage ¶
func FriendsChatPage( pCtx context.Context, pLogger logger.ILogger, pCfg config.IConfig, pDB database.IKVDatabase, ) http.HandlerFunc
func FriendsChatWS ¶
func FriendsChatWS(pBroker msgbroker.IMessageBroker) func(pWS *websocket.Conn)
func FriendsPage ¶
func FriendsUploadPage ¶
func HandleIncomigHTTP ¶
func HandleIncomigHTTP( pCtx context.Context, pLogger logger.ILogger, pCfg config.IConfig, pDB database.IKVDatabase, pBroker msgbroker.IMessageBroker, ) http.HandlerFunc
func NotFoundPage ¶
func SettingsPage ¶
Types ¶
type SHandlerError ¶ added in v1.6.8
type SHandlerError struct {
// contains filtered or unexported fields
}
func (*SHandlerError) Error ¶ added in v1.6.8
func (err *SHandlerError) Error() string
Click to show internal directories.
Click to hide internal directories.