analytics

package
v2.3.76 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analytics

type Analytics interface {
	InitHandler(api *gin.RouterGroup)
	CollectAnalytic(c *gin.Context)
	ShutDown()
}

func New

func New(config Config) Analytics

type Config

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

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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