middleware

package
v0.0.0-...-5907adb Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package Middleware handles an incoming request Users can create new Middleware functions here or create a new file beneath the middleware directory

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessLog

func AccessLog(r *http.Request)

Log file store function

func ApiAuthMiddleware

Users should be redirected to log in when they are not authenticated

func RequestLogger

func RequestLogger(targetMux http.Handler) http.Handler

This function is run during every request to your application. And stored in a log file

Types

This section is empty.

Jump to

Keyboard shortcuts

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