Versions in this module Expand all Collapse all v1 v1.0.0 Feb 3, 2026 Changes in this version + type ASCIIHandler struct + func NewASCIIHandler() *ASCIIHandler + func (h *ASCIIHandler) CanHandle(query string) bool + func (h *ASCIIHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *ASCIIHandler) Name() string + func (h *ASCIIHandler) Patterns() []*regexp.Regexp + type ASNHandler struct + func NewASNHandler() *ASNHandler + func (h *ASNHandler) CanHandle(query string) bool + func (h *ASNHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *ASNHandler) Name() string + func (h *ASNHandler) Patterns() []*regexp.Regexp + type Answer struct + Content string + Data map[string]interface{} + Query string + RelatedHTML string + Source string + SourceURL string + Title string + Type AnswerType + type AnswerType string + const AnswerTypeASCII + const AnswerTypeASN + const AnswerTypeAntonym + const AnswerTypeBase64 + const AnswerTypeBeautify + const AnswerTypeCVE + const AnswerTypeCalendar + const AnswerTypeCase + const AnswerTypeCert + const AnswerTypeCheat + const AnswerTypeChmod + const AnswerTypeColor + const AnswerTypeConvert + const AnswerTypeCron + const AnswerTypeDNS + const AnswerTypeDate + const AnswerTypeDefinition + const AnswerTypeDictionary + const AnswerTypeEmoji + const AnswerTypeEscape + const AnswerTypeExpand + const AnswerTypeFeed + const AnswerTypeHTMLEntity + const AnswerTypeHTTPCode + const AnswerTypeHash + const AnswerTypeHeaders + const AnswerTypeIP + const AnswerTypeJSON + const AnswerTypeJWT + const AnswerTypeMan + const AnswerTypeMath + const AnswerTypePassword + const AnswerTypePkg + const AnswerTypePort + const AnswerTypeQR + const AnswerTypeRFC + const AnswerTypeRandom + const AnswerTypeRegex + const AnswerTypeResolve + const AnswerTypeRobots + const AnswerTypeSafe + const AnswerTypeSitemap + const AnswerTypeSlug + const AnswerTypeStopwatch + const AnswerTypeSubnet + const AnswerTypeSynonym + const AnswerTypeTLDR + const AnswerTypeTech + const AnswerTypeTime + const AnswerTypeTimestamp + const AnswerTypeTimezone + const AnswerTypeURL + const AnswerTypeUUID + const AnswerTypeUnicode + const AnswerTypeWHOIS + const AnswerTypeYAML + type AntonymHandler struct + func NewAntonymHandler() *AntonymHandler + func (h *AntonymHandler) CanHandle(query string) bool + func (h *AntonymHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *AntonymHandler) Name() string + func (h *AntonymHandler) Patterns() []*regexp.Regexp + type Base64Handler struct + func NewBase64Handler() *Base64Handler + func (h *Base64Handler) CanHandle(query string) bool + func (h *Base64Handler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *Base64Handler) Name() string + func (h *Base64Handler) Patterns() []*regexp.Regexp + type BeautifyConfig struct + IndentSize int + UseTabs bool + func DefaultBeautifyConfig() *BeautifyConfig + type BeautifyHandler struct + func NewBeautifyHandler() *BeautifyHandler + func (h *BeautifyHandler) CanHandle(query string) bool + func (h *BeautifyHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *BeautifyHandler) Name() string + func (h *BeautifyHandler) Patterns() []*regexp.Regexp + type CVEHandler struct + func NewCVEHandler() *CVEHandler + func (h *CVEHandler) CanHandle(query string) bool + func (h *CVEHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *CVEHandler) Name() string + func (h *CVEHandler) Patterns() []*regexp.Regexp + type CVEItem struct + Descriptions []struct{ ... } + ID string + LastModified string + Metrics struct{ ... } + Published string + References []struct{ ... } + type CalendarHandler struct + func NewCalendarHandler() *CalendarHandler + func (h *CalendarHandler) CanHandle(query string) bool + func (h *CalendarHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *CalendarHandler) Name() string + func (h *CalendarHandler) Patterns() []*regexp.Regexp + type CaseHandler struct + func NewCaseHandler() *CaseHandler + func (h *CaseHandler) CanHandle(query string) bool + func (h *CaseHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *CaseHandler) Name() string + func (h *CaseHandler) Patterns() []*regexp.Regexp + type CertHandler struct + func NewCertHandler() *CertHandler + func (h *CertHandler) CanHandle(query string) bool + func (h *CertHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *CertHandler) Name() string + func (h *CertHandler) Patterns() []*regexp.Regexp + type CertInfo struct + DaysLeft int + IsValid bool + Issuer string + Subject string + ValidFrom time.Time + ValidUntil time.Time + type CheatHandler struct + func NewCheatHandler() *CheatHandler + func (h *CheatHandler) CanHandle(query string) bool + func (h *CheatHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *CheatHandler) Name() string + func (h *CheatHandler) Patterns() []*regexp.Regexp + type ChmodHandler struct + func NewChmodHandler() *ChmodHandler + func (h *ChmodHandler) CanHandle(query string) bool + func (h *ChmodHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *ChmodHandler) Name() string + func (h *ChmodHandler) Patterns() []*regexp.Regexp + type ColorHandler struct + func NewColorHandler() *ColorHandler + func (h *ColorHandler) CanHandle(query string) bool + func (h *ColorHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *ColorHandler) Name() string + func (h *ColorHandler) Patterns() []*regexp.Regexp + type ConvertHandler struct + func NewConvertHandler() *ConvertHandler + func (h *ConvertHandler) CanHandle(query string) bool + func (h *ConvertHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *ConvertHandler) Name() string + func (h *ConvertHandler) Patterns() []*regexp.Regexp + type CronHandler struct + func NewCronHandler() *CronHandler + func (h *CronHandler) CanHandle(query string) bool + func (h *CronHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *CronHandler) Name() string + func (h *CronHandler) Patterns() []*regexp.Regexp + type DNSHandler struct + func NewDNSHandler() *DNSHandler + func (h *DNSHandler) CanHandle(query string) bool + func (h *DNSHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *DNSHandler) Name() string + func (h *DNSHandler) Patterns() []*regexp.Regexp + type DNSRecord struct + TTL int + Type string + Value string + type DefinitionHandler struct + func NewDefinitionHandler() *DefinitionHandler + func (h *DefinitionHandler) CanHandle(query string) bool + func (h *DefinitionHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *DefinitionHandler) Name() string + func (h *DefinitionHandler) Patterns() []*regexp.Regexp + type DictionaryHandler struct + func NewDictionaryHandler() *DictionaryHandler + func (h *DictionaryHandler) Name() string + type DirectAnswerManager struct + func NewDirectAnswerManager() *DirectAnswerManager + func (m *DirectAnswerManager) GetHandlers() []Handler + func (m *DirectAnswerManager) Process(ctx context.Context, query string) (*Answer, error) + func (m *DirectAnswerManager) Register(h Handler) + type EmojiHandler struct + func NewEmojiHandler() *EmojiHandler + func (h *EmojiHandler) CanHandle(query string) bool + func (h *EmojiHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *EmojiHandler) Name() string + func (h *EmojiHandler) Patterns() []*regexp.Regexp + type EmojiInfo struct + Category string + Emoji string + Keywords []string + Name string + type EscapeHandler struct + func NewEscapeHandler() *EscapeHandler + func (h *EscapeHandler) CanHandle(query string) bool + func (h *EscapeHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *EscapeHandler) Name() string + func (h *EscapeHandler) Patterns() []*regexp.Regexp + type ExpandHandler struct + func NewExpandHandler() *ExpandHandler + func (h *ExpandHandler) CanHandle(query string) bool + func (h *ExpandHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *ExpandHandler) Name() string + func (h *ExpandHandler) Patterns() []*regexp.Regexp + type FeedHandler struct + func NewFeedHandler() *FeedHandler + func (h *FeedHandler) CanHandle(query string) bool + func (h *FeedHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *FeedHandler) Name() string + func (h *FeedHandler) Patterns() []*regexp.Regexp + type FeedInfo struct + Title string + Type string + URL string + type HTMLEntityHandler struct + func NewHTMLEntityHandler() *HTMLEntityHandler + func (h *HTMLEntityHandler) CanHandle(query string) bool + func (h *HTMLEntityHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *HTMLEntityHandler) Name() string + func (h *HTMLEntityHandler) Patterns() []*regexp.Regexp + type HTTPCodeHandler struct + func NewHTTPCodeHandler() *HTTPCodeHandler + func (h *HTTPCodeHandler) CanHandle(query string) bool + func (h *HTTPCodeHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *HTTPCodeHandler) Name() string + func (h *HTTPCodeHandler) Patterns() []*regexp.Regexp + type Handler interface + CanHandle func(query string) bool + Handle func(ctx context.Context, query string) (*Answer, error) + Name func() string + Patterns func() []*regexp.Regexp + type HashHandler struct + func NewHashHandler() *HashHandler + func (h *HashHandler) CanHandle(query string) bool + func (h *HashHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *HashHandler) Name() string + func (h *HashHandler) Patterns() []*regexp.Regexp + type HeadersHandler struct + func NewHeadersHandler() *HeadersHandler + func (h *HeadersHandler) CanHandle(query string) bool + func (h *HeadersHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *HeadersHandler) Name() string + func (h *HeadersHandler) Patterns() []*regexp.Regexp + type IPHandler struct + func NewIPHandler() *IPHandler + func (h *IPHandler) CanHandle(query string) bool + func (h *IPHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *IPHandler) Name() string + func (h *IPHandler) Patterns() []*regexp.Regexp + type JSONHandler struct + func NewJSONHandler() *JSONHandler + func (h *JSONHandler) CanHandle(query string) bool + func (h *JSONHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *JSONHandler) Name() string + func (h *JSONHandler) Patterns() []*regexp.Regexp + type JWTHandler struct + func NewJWTHandler() *JWTHandler + func (h *JWTHandler) CanHandle(query string) bool + func (h *JWTHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *JWTHandler) Name() string + func (h *JWTHandler) Patterns() []*regexp.Regexp + type ManHandler struct + func NewManHandler() *ManHandler + func (h *ManHandler) CanHandle(query string) bool + func (h *ManHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *ManHandler) Name() string + func (h *ManHandler) Patterns() []*regexp.Regexp + type ManOption struct + Description string + Flag string + type ManPageInfo struct + Command string + Description string + Name string + Options []ManOption + Section string + SeeAlso []string + Synopsis string + type Manager struct + func NewManager() *Manager + func (m *Manager) GetHandlers() []Handler + func (m *Manager) Process(ctx context.Context, query string) (*Answer, error) + func (m *Manager) Register(h Handler) + type MathHandler struct + func NewMathHandler() *MathHandler + func (h *MathHandler) CanHandle(query string) bool + func (h *MathHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *MathHandler) Name() string + func (h *MathHandler) Patterns() []*regexp.Regexp + type NPMPackage struct + Description string + DistTags struct{ ... } + Homepage string + License string + Name string + Versions map[string]NPMVersionInfo + type NPMVersionInfo struct + Description string + Keywords []string + Name string + Repository struct{ ... } + Version string + type NVDResponse struct + ResultsPerPage int + StartIndex int + TotalResults int + Vulnerabilities []struct{ ... } + type ParsedRobots struct + Sitemaps []string + UserAgents []RobotUserAgent + type PasswordHandler struct + func NewPasswordHandler() *PasswordHandler + func (h *PasswordHandler) CanHandle(query string) bool + func (h *PasswordHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *PasswordHandler) Name() string + func (h *PasswordHandler) Patterns() []*regexp.Regexp + type PkgHandler struct + func NewPkgHandler() *PkgHandler + func (h *PkgHandler) CanHandle(query string) bool + func (h *PkgHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *PkgHandler) Name() string + func (h *PkgHandler) Patterns() []*regexp.Regexp + type PortHandler struct + func NewPortHandler() *PortHandler + func (h *PortHandler) CanHandle(query string) bool + func (h *PortHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *PortHandler) Name() string + func (h *PortHandler) Patterns() []*regexp.Regexp + type PyPIPackage struct + Info struct{ ... } + type QRHandler struct + func NewQRHandler() *QRHandler + func (h *QRHandler) CanHandle(query string) bool + func (h *QRHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *QRHandler) Name() string + func (h *QRHandler) Patterns() []*regexp.Regexp + type RFCHandler struct + func NewRFCHandler() *RFCHandler + func (h *RFCHandler) CanHandle(query string) bool + func (h *RFCHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *RFCHandler) Name() string + func (h *RFCHandler) Patterns() []*regexp.Regexp + type RFCInfo struct + Abstract string + Authors []string + Category string + Date string + Number int + Obsoletes []string + Status string + Title string + Updates []string + type RandomHandler struct + func NewRandomHandler() *RandomHandler + func (h *RandomHandler) CanHandle(query string) bool + func (h *RandomHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *RandomHandler) Name() string + func (h *RandomHandler) Patterns() []*regexp.Regexp + type RedirectHop struct + Status string + StatusCode int + URL string + type RegexHandler struct + func NewRegexHandler() *RegexHandler + func (h *RegexHandler) CanHandle(query string) bool + func (h *RegexHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *RegexHandler) Name() string + func (h *RegexHandler) Patterns() []*regexp.Regexp + type ResolveHandler struct + func NewResolveHandler() *ResolveHandler + func (h *ResolveHandler) CanHandle(query string) bool + func (h *ResolveHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *ResolveHandler) Name() string + func (h *ResolveHandler) Patterns() []*regexp.Regexp + type RobotDirective struct + Type string + Value string + type RobotUserAgent struct + Agent string + Directives []RobotDirective + type RobotsHandler struct + func NewRobotsHandler() *RobotsHandler + func (h *RobotsHandler) CanHandle(query string) bool + func (h *RobotsHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *RobotsHandler) Name() string + func (h *RobotsHandler) Patterns() []*regexp.Regexp + type SafeHandler struct + func NewSafeHandler() *SafeHandler + func (h *SafeHandler) CanHandle(query string) bool + func (h *SafeHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *SafeHandler) Name() string + func (h *SafeHandler) Patterns() []*regexp.Regexp + type SafetyCheck struct + Message string + Name string + Status string + type SafetyResult struct + Certificate *CertInfo + Checks []SafetyCheck + Safe bool + Score int + URL string + type Sitemap struct + Sitemaps []SitemapIndex + URLs []SitemapURL + XMLName xml.Name + type SitemapHandler struct + func NewSitemapHandler() *SitemapHandler + func (h *SitemapHandler) CanHandle(query string) bool + func (h *SitemapHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *SitemapHandler) Name() string + func (h *SitemapHandler) Patterns() []*regexp.Regexp + type SitemapIndex struct + LastMod string + Loc string + type SitemapIndexFile struct + Sitemaps []SitemapIndex + XMLName xml.Name + type SitemapURL struct + ChangeFreq string + LastMod string + Loc string + Priority string + type SlugHandler struct + func NewSlugHandler() *SlugHandler + func (h *SlugHandler) CanHandle(query string) bool + func (h *SlugHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *SlugHandler) Name() string + func (h *SlugHandler) Patterns() []*regexp.Regexp + type StopwatchHandler struct + func NewStopwatchHandler() *StopwatchHandler + func (h *StopwatchHandler) CanHandle(query string) bool + func (h *StopwatchHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *StopwatchHandler) Name() string + func (h *StopwatchHandler) Patterns() []*regexp.Regexp + type SubnetHandler struct + func NewSubnetHandler() *SubnetHandler + func (h *SubnetHandler) CanHandle(query string) bool + func (h *SubnetHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *SubnetHandler) Name() string + func (h *SubnetHandler) Patterns() []*regexp.Regexp + type SynonymHandler struct + func NewSynonymHandler() *SynonymHandler + func (h *SynonymHandler) CanHandle(query string) bool + func (h *SynonymHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *SynonymHandler) Name() string + func (h *SynonymHandler) Patterns() []*regexp.Regexp + type TLDRHandler struct + func NewTLDRHandler() *TLDRHandler + func (h *TLDRHandler) CanHandle(query string) bool + func (h *TLDRHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *TLDRHandler) Name() string + func (h *TLDRHandler) Patterns() []*regexp.Regexp + type TechHandler struct + func NewTechHandler() *TechHandler + func (h *TechHandler) CanHandle(query string) bool + func (h *TechHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *TechHandler) Name() string + func (h *TechHandler) Patterns() []*regexp.Regexp + type TechInfo struct + Category string + Evidence string + Name string + Version string + type TimeHandler struct + func NewTimeHandler() *TimeHandler + func (h *TimeHandler) CanHandle(query string) bool + func (h *TimeHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *TimeHandler) Name() string + func (h *TimeHandler) Patterns() []*regexp.Regexp + type TimestampHandler struct + func NewTimestampHandler() *TimestampHandler + func (h *TimestampHandler) CanHandle(query string) bool + func (h *TimestampHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *TimestampHandler) Name() string + func (h *TimestampHandler) Patterns() []*regexp.Regexp + type TimezoneHandler struct + func NewTimezoneHandler() *TimezoneHandler + func (h *TimezoneHandler) CanHandle(query string) bool + func (h *TimezoneHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *TimezoneHandler) Name() string + func (h *TimezoneHandler) Patterns() []*regexp.Regexp + type URLHandler struct + func NewURLHandler() *URLHandler + func (h *URLHandler) CanHandle(query string) bool + func (h *URLHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *URLHandler) Name() string + func (h *URLHandler) Patterns() []*regexp.Regexp + type UUIDHandler struct + func NewUUIDHandler() *UUIDHandler + func (h *UUIDHandler) CanHandle(query string) bool + func (h *UUIDHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *UUIDHandler) Name() string + func (h *UUIDHandler) Patterns() []*regexp.Regexp + type UnicodeHandler struct + func NewUnicodeHandler() *UnicodeHandler + func (h *UnicodeHandler) CanHandle(query string) bool + func (h *UnicodeHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *UnicodeHandler) Name() string + func (h *UnicodeHandler) Patterns() []*regexp.Regexp + type WHOISHandler struct + func NewWHOISHandler() *WHOISHandler + func (h *WHOISHandler) CanHandle(query string) bool + func (h *WHOISHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *WHOISHandler) Name() string + func (h *WHOISHandler) Patterns() []*regexp.Regexp + type YAMLHandler struct + func NewYAMLHandler() *YAMLHandler + func (h *YAMLHandler) CanHandle(query string) bool + func (h *YAMLHandler) Handle(ctx context.Context, query string) (*Answer, error) + func (h *YAMLHandler) Name() string + func (h *YAMLHandler) Patterns() []*regexp.Regexp