bot_score

package
v0.0.0-...-bd7bb7a Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// SystemUser This is a special case
	// to denote this entry in the log
	// as a consequence of some user running
	// a process on the system and not an
	// external bot
	SystemUser = "System user"

	Improbable     = "Probably not"
	Inconclusive   = "Inconclusive"
	Probable       = "Probably"
	AlmostDefinite = "Almost definitely"
	Definite       = "Definitely"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BotScore

type BotScore struct {
	Score   int
	Verdict string
}

func New

func New(
	ua *uasurfer.UserAgent,
	remoteUser string,
	remoteIP net.IP,
) BotScore

Jump to

Keyboard shortcuts

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