dot

package
v0.0.0-...-e3c76da Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	Name   string // 域名
	RRType uint16 // 解析类型
}

func NewParser

func NewParser(name, rrType string) *Parser

func (*Parser) Parse

func (p *Parser) Parse(provider string) *Result

type Result

type Result struct {
	Msg *dns.Msg
	// contains filtered or unexported fields
}

func (*Result) IP

func (d *Result) IP() string

func (*Result) MarshalJSON

func (d *Result) MarshalJSON() ([]byte, error)

func (*Result) String

func (d *Result) String() string

Jump to

Keyboard shortcuts

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