Documentation ¶
Overview ¶
Package httpz provides the application's HTTP handler and other functionality.
It is named httpz to avoid a name conflict with the standard library's http package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler( dbpool *pgxpool.Pool, logger *zerolog.Logger, csrfKey []byte, secureCookies bool, cookieAuthenticationKey []byte, cookieEncryptionKey []byte, assetManifest map[string]string, ) (http.Handler, error)
NewHandler returns an http.Handler that serves the web application.
Types ¶
type RequestLoginSession ¶
type RequestLoginSession struct { ID uuid.UUID User *RequestUser }
type RequestUser ¶
Click to show internal directories.
Click to hide internal directories.