handler

package
v1.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AboutPage

func AboutPage(pLogger logger.ILogger, pCfg config.IConfig) http.HandlerFunc

func ErrorPage added in v1.6.0

func ErrorPage(pLogger logger.ILogger, pCfg config.IConfig, pTitle, pMessage string) http.HandlerFunc

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 FriendsPage(
	pCtx context.Context,
	pLogger logger.ILogger,
	pCfg config.IConfig,
) http.HandlerFunc

func FriendsUploadPage

func FriendsUploadPage(
	pCtx context.Context,
	pLogger logger.ILogger,
	pCfg config.IConfig,
) http.HandlerFunc

func HandleIncomigHTTP

func HandleIncomigHTTP(
	pCtx context.Context,
	pLogger logger.ILogger,
	pCfg config.IConfig,
	pDB database.IKVDatabase,
	pBroker msgbroker.IMessageBroker,
) http.HandlerFunc

func IndexPage

func IndexPage(pLogger logger.ILogger, pCfg config.IConfig) http.HandlerFunc

func NotFoundPage

func NotFoundPage(pLogger logger.ILogger, pCfg config.IConfig) http.HandlerFunc

func SettingsPage

func SettingsPage(pCtx context.Context, pLogger logger.ILogger, pWrapper config.IWrapper) http.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL