Categorygithub.com/zyylhn/netc
modulepackage
1.1.1
Repository: https://github.com/zyylhn/netc.git
Documentation: pkg.go.dev

# README

netc

一个tcp连接的客户端,用来统一控制程序内所有的连接。还支持一些中间件功能,目前支持连接成功后的连接信息推送。

除此之外还支持使用指定的ip去发送连接并自动获取空闲端口

TODO

  • 设置代理
  • 连接完成后的信息推送
  • 连接前的中间件

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DialTcpWithTimeoutIndexLocalIp 自行获取连接目标的地址.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

ConnectEvent 连接信息.
ConnectInfo 连接信息.
No description provided by the author
EventWithIndex 请求事件信息.
No description provided by the author

# Interfaces

PushEvent 推送事件接口.