whois

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

README

WHOIS

Perform WHOIS lookups for domains and IP addresses to retrieve registration and ownership information.

Configuration

No configuration is required. WHOIS uses public WHOIS servers and does not need API keys.

Available Functions

Function Description
whois_domain WHOIS lookup for a domain name (registrar, registration dates, nameservers)
whois_ip WHOIS lookup for an IP address, IPv4 or IPv6 (network range, organization, abuse contact)

The tool is always available without any additional setup.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

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

Action implements the interfaces.Tool interface for WHOIS lookups.

func (*Action) Configure

func (x *Action) Configure(_ context.Context) error

func (*Action) Flags

func (x *Action) Flags() []cli.Flag

func (*Action) Helper

func (x *Action) Helper() *cli.Command

func (*Action) LogValue

func (x *Action) LogValue() slog.Value

func (*Action) Name

func (x *Action) Name() string

func (*Action) Prompt

func (x *Action) Prompt(_ context.Context) (string, error)

func (*Action) Run

func (x *Action) Run(ctx context.Context, name string, args map[string]any) (map[string]any, error)

func (*Action) Specs

func (x *Action) Specs(_ context.Context) ([]gollem.ToolSpec, error)

Jump to

Keyboard shortcuts

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