reqlog

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package relog provides request logging for all services and also request dump as needed

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump(r *http.Request, info string)

func NewMiddleware

func NewMiddleware(log *log.Logger) muxhttp.Middleware

NewMiddleware writes some information about the request to the logs in the format: TraceID : (200) GET /foo -> IP ADDR (latency)

Types

This section is empty.

Jump to

Keyboard shortcuts

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