whois

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2023 License: BSD-3-Clause-Clear Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TCP string = "tcp"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Whois

type Whois struct {
	Host       string
	Port       uint
	TCPAddr    *net.TCPAddr
	Connection *net.TCPConn
}

func New

func New(host string, port uint) (*Whois, error)

func (*Whois) Close

func (w *Whois) Close() error

func (*Whois) Open

func (w *Whois) Open() error

func (*Whois) Query

func (w *Whois) Query(q string) (string, error)

Jump to

Keyboard shortcuts

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