mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 20:16:52 +00:00
客户端配置,端口白名单等
This commit is contained in:
@@ -18,6 +18,7 @@ type Link struct {
|
||||
UdpListener *net.UDPConn
|
||||
Rate *rate.Rate
|
||||
UdpRemoteAddr *net.UDPAddr
|
||||
Stop chan bool
|
||||
}
|
||||
|
||||
func NewLink(id int, connType string, host string, en, de int, crypt bool, c *Conn, flow *file.Flow, udpListener *net.UDPConn, rate *rate.Rate, UdpRemoteAddr *net.UDPAddr) *Link {
|
||||
|
Reference in New Issue
Block a user