|
@@ -15,7 +15,7 @@ func init() {
|
|
|
Address: simplifiedServer.Address,
|
|
Address: simplifiedServer.Address,
|
|
|
UdpEnabled: simplifiedServer.UdpEnabled,
|
|
UdpEnabled: simplifiedServer.UdpEnabled,
|
|
|
}
|
|
}
|
|
|
- return socks.NewServer(ctx, fullServer)
|
|
|
|
|
|
|
+ return common.CreateObject(ctx, fullServer)
|
|
|
}))
|
|
}))
|
|
|
|
|
|
|
|
common.Must(common.RegisterConfig((*ClientConfig)(nil), func(ctx context.Context, config interface{}) (interface{}, error) {
|
|
common.Must(common.RegisterConfig((*ClientConfig)(nil), func(ctx context.Context, config interface{}) (interface{}, error) {
|
|
@@ -28,6 +28,6 @@ func init() {
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
- return socks.NewClient(ctx, fullClient)
|
|
|
|
|
|
|
+ return common.CreateObject(ctx, fullClient)
|
|
|
}))
|
|
}))
|
|
|
}
|
|
}
|