tcpscan

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg *Cfg)

Types

type Cfg

type Cfg struct {
	HostName  string        // 地址
	StartPort int           // 开始端口
	EndPort   int           // 结束端口
	Timeout   time.Duration // 超时时间
}

设置type

type TS

type TS struct {
	Cfg *Cfg
}

func NewTcpScan

func NewTcpScan(c *Cfg) *TS

实例化

Directories

Path Synopsis
https://mp.weixin.qq.com/s/OhS_RQZojJbkenOSS_tEng
https://mp.weixin.qq.com/s/OhS_RQZojJbkenOSS_tEng

Jump to

Keyboard shortcuts

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