add port range support for service

This commit is contained in:
ginuerzh
2024-07-08 22:38:21 +08:00
parent 96f4d7bf5c
commit c1d0887a9b
73 changed files with 1915 additions and 316 deletions

View File

@ -39,7 +39,7 @@ func (c *directConnector) Connect(ctx context.Context, _ net.Conn, network, addr
opt(&cOpts)
}
conn, err := cOpts.NetDialer.Dial(ctx, network, address)
conn, err := cOpts.Dialer.Dial(ctx, network, address)
if err != nil {
return nil, err
}