package net import "testing" func TestForward(t *testing.T) { var f = NetForward{ LocalAddr: "127.0.0.1", LocalPort: 22232, RemoteURI: "127.0.0.1:1127", EnableTCP: true, EnableUDP: true, DialTimeout: 0, UDPTimeout: 0, } f.Run() }