bots

package
v0.0.0-...-28009d5 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MPL-2.0 Imports: 1 Imported by: 0

README

bots

This package helps the backend determine which clients are bots or crawlers.

Write.as Usage

This is used to prevent certain things when viewing posts, like incrementing the view count.

Documentation

Overview

This package helps the backend determine which clients are bots or crawlers. In Write.as, this is used to prevent certain things when viewing posts, like incrementing the view count.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBot

func IsBot(ua string) bool

IsBot returns whether or not the provided User-Agent string is a known bot or crawler.

Types

This section is empty.

Jump to

Keyboard shortcuts

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