Documentation
¶
Overview ¶
Package guess discovers related social media profiles based on known usernames.
Index ¶
Constants ¶
View Source
const DefaultMaxCandidatesPerPlatform = 2
DefaultMaxCandidatesPerPlatform limits how many URLs we try per platform to avoid excessive requests.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Logger *slog.Logger
Fetcher Fetcher
PlatformDetector PlatformDetector
MaxCandidatesPerPlatform int // Limit candidates per platform (default: 2)
}
Config holds configuration for guessing.
type PlatformDetector ¶
PlatformDetector is a function that returns the platform name for a URL.
Click to show internal directories.
Click to hide internal directories.