Documentation ¶
Overview ¶
Package http contains all methods for working http server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func LogMiddleware ¶
func LogMiddleware(log *slog.Logger) mux.MiddlewareFunc
LogMiddleware add logger in middleware.
func Recoverer ¶
func Recoverer(log *slog.Logger) mux.MiddlewareFunc
Recoverer recover service after a panic.
func SetSessionToCtx ¶
func SetSessionToCtx(app application) mux.MiddlewareFunc
Types ¶
type UploadFilesResponse ¶
UploadFilesResponse response upload file.
Click to show internal directories.
Click to hide internal directories.