package
Version:
v0.5.2
Opens a new window with list of versions in this module.
Published: Apr 8, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetRDAP does a RDAP lookup for a supplied domain
GetWhois does a WHOIS lookup for a supplied domain
func RdapHandler(c *fiber.Ctx) error
func WhoisHandler(c *fiber.Ctx) error
WhoisHandler 用于处理单个域名的Whois信息查询
type Response struct {
Success bool `json:"success"`
Data interface{} `json:"data,omitempty"`
Error string `json:"error,omitempty"`
}
type SingleBody struct {
Domain string
}
SingleBody defines the JSON body for
getting Whois data of a single domain
Source Files
¶
Click to show internal directories.
Click to hide internal directories.