whois

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Root         = "whois.iana.org" // 查询域名后缀 whois server的服务器
	DialTimeout  = 20 * time.Second // 连接超时时间
	ReadTimeout  = 10 * time.Second // 读取数据超时
	WriteTimeout = 10 * time.Second // 写发送数据超时

)

Functions

This section is empty.

Types

type Whois

type Whois struct {
	// contains filtered or unexported fields
}

func New

func New(thred, retry int) *Whois

New 初始化

func (*Whois) Search

func (this *Whois) Search(u string) (int, string, string, string)

Search 查询函数 return status whoisinfo ip whoiserver

Jump to

Keyboard shortcuts

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