socket

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SocketContext

type SocketContext struct {
	Target       *Target
	UseDebugMode bool
}

type Target

type Target struct {
	Host string
	Port int
	Ipv4 net.IP
	Ipv6 net.IP
}

func (*Target) HostCanBeResolv

func (c *Target) HostCanBeResolv() bool

func (*Target) ResolvHost

func (c *Target) ResolvHost()

type TargetWrapper

type TargetWrapper interface {
	ResolvHost()
	HostCanBeResolv() bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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