classify

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package classify maps domains to human-friendly categories and flags the AI services that motivated netscope in the first place.

Index

Constants

View Source
const (
	CatAI       = "ai"
	CatCloud    = "cloud"
	CatCDN      = "cdn"
	CatSocial   = "social"
	CatMedia    = "media"
	CatTracking = "tracking"
	CatOther    = ""
)

Category labels are coarse buckets used for dashboard grouping.

Variables

This section is empty.

Functions

func Category

func Category(host string) string

Category returns the coarse category for a host. AI services take priority.

func IsAI

func IsAI(host string) bool

IsAI reports whether the (lower-cased) host belongs to a known AI service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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