Make it easier to configure multiple listening ports
This commit is contained in:
1 parent
c3298c38a0
commit
d6ae4e9ba2
20 files changed
+394
-381
No files matched your search
+4
-2
@@ -49,8 +49,10 @@ func TestXrayClose(t *testing.T) {
|
||||
Inbound: []*InboundHandlerConfig{
|
||||
{
|
||||
ReceiverSettings: serial.ToTypedMessage(&proxyman.ReceiverConfig{
|
||||
PortRange: net.SinglePortRange(port),
|
||||
Listen: net.NewIPOrDomain(net.LocalHostIP),
|
||||
PortList: &net.PortList{
|
||||
Range: []*net.PortRange{net.SinglePortRange(port)},
|
||||
},
|
||||
Listen: net.NewIPOrDomain(net.LocalHostIP),
|
||||
}),
|
||||
ProxySettings: serial.ToTypedMessage(&dokodemo.Config{
|
||||
Address: net.NewIPOrDomain(net.LocalHostIP),
|
||||
|
||||
Reference in new issue
Block a user