middleware

package
v0.0.0-...-7a648d5 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: 2020 Eder Sosa <eder.sohe@gmail.com> SPDX-License-Identifier: MIT

Code below is a modified version of https://github.com/edersohe/zflogger: only addition is support for Fiber v2.

Index

Constants

View Source
const LoginPath = "/web/login"

Variables

This section is empty.

Functions

func Logger

func Logger(log zerolog.Logger, filter func(*fiber.Ctx) bool) fiber.Handler

func Session

func Session(store *session.Store, acl map[string][]string) fiber.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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