dot

package
v0.0.0-...-401b346 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DoT

type DoT struct {
	Addr       string
	LSocks     string
	ServerName string

	Singleflight *singleflight.Group
	// contains filtered or unexported fields
}

func NewDot

func NewDot(serverName string, addr string, lSocks string) *DoT

func (*DoT) AutoFree

func (rd *DoT) AutoFree()

func (*DoT) Connect

func (rd *DoT) Connect() error

func (*DoT) Resolve

func (rd *DoT) Resolve(remoteHost string, ipType int) (string, error)

Jump to

Keyboard shortcuts

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