collector

package
v2.3.78 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg LoggerConfig) (gin.HandlerFunc, func())

Types

type LoggerConfig

type LoggerConfig struct {
	DB                  *gorm.DB
	FlushInterval       int
	BatchSize           int
	ExcludeInputBodies  map[string][]string
	ExcludeOutputBodies map[string][]string
	SkipRequests        map[string][]string
}

Jump to

Keyboard shortcuts

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