bot

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 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 Checker

type Checker struct {
	// contains filtered or unexported fields
}

func NewChecker

func NewChecker(initialMaxSize int) (*Checker, error)

func (*Checker) IsBot

func (b *Checker) IsBot(ua string) bool

func (*Checker) Resize added in v0.1.2

func (b *Checker) Resize(newSize int)

func (*Checker) Stats added in v0.1.2

func (b *Checker) Stats() (hitRate float64, size int, maxSize int)

Jump to

Keyboard shortcuts

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