dot

package
v0.0.0-...-159e71c Latest Latest
Warning

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

Go to latest
Published: Apr 20, 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) 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