botdetect

package module
v0.0.0-...-4e7bf00 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: MIT Imports: 2 Imported by: 0

README

Detecting bot requests

GoDoc Go Report Card Build Status

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BotDetect

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

BotDetect need for checking request is from bot or not

func NewBotDetect

func NewBotDetect(r *http.Request, rules []string) *BotDetect

NewBotDetect function create instance of BotDetect

func (*BotDetect) IsBot

func (d *BotDetect) IsBot() bool

IsBot method detect is bot or not

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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