util

package
Version: v0.0.0-...-995d28b Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogMiddleware

func LogMiddleware(moduleName string, rules []RegexRule, log *logrus.Entry, verbose bool) gin.HandlerFunc

Types

type RegexRule

type RegexRule struct {
	Regex       *regexp.Regexp
	Replacement string
	InLog       bool
}

Jump to

Keyboard shortcuts

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