honeypot

package
v1.25.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Timings = promauto.NewHistogramVec(prometheus.HistogramOpts{
	Namespace: "anubis",
	Subsystem: "honeypot",
	Name:      "pagegen_timings",
	Help:      "The amount of time honeypot page generation takes per method",
	Buckets:   prometheus.ExponentialBuckets(0.5, 2, 32),
}, []string{"method"})

Functions

This section is empty.

Types

type Info

type Info struct {
	CreatedAt time.Time `json:"createdAt"`
	UserAgent string    `json:"userAgent"`
	IPAddress string    `json:"ipAddress"`
	HitCount  int       `json:"hitCount"`
}

Directories

Path Synopsis
templ: version: v0.3.960
templ: version: v0.3.960

Jump to

Keyboard shortcuts

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