Categorygithub.com/badboyd/krakend-botdetector
modulepackage
1.4.1
Repository: https://github.com/badboyd/krakend-botdetector.git
Documentation: pkg.go.dev

# README

krakend-botdetector

A bot detector middleware for the KrakenD framework

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

New returns a detector function with or without LRU cache depending on the params.
NewDetector creates a Detector.
NewLRU creates a new LRUDetector.

# Structs

Config defines the behaviour of the detector.
Detector is a struct able to detect bot-made requests.
LRUDetector is a struct able to detect bot-made requests and cache the results for future reutilization.

# Type aliases

DetectorFunc is a func that chek if a request was made by a bot.