request

package
v0.0.0-...-e46c3b8 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromFiberCtx

func FromFiberCtx(ctx *fiber.Ctx) reqlogger.Request

FromFiberCtx constructs Request value.

func GetDuration

func GetDuration(ctx *fiber.Ctx) time.Duration

GetDuration returns duration since the setted time.

func SetTimeAndID

func SetTimeAndID(ctx *fiber.Ctx)

SetTimeAndID sets current time and ads tracking id to locals.

Types

This section is empty.

Jump to

Keyboard shortcuts

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