Jigsaw-Code / outline-go-tun2socks

Apache License 2.0
227 stars 94 forks source link

refactor(intra): use outline-sdk as the network stack #125

Closed jyyi1 closed 1 year ago

jyyi1 commented 1 year ago

This PR replaces the go-tun2socks/core with outline-sdk/* in the Intra project, and removes the dependency on tunnel.Tunnel, making the intra package a standalone Go package that can be copied to other locations, such as the Intra repository.

I kept the signatures of all exported interfaces the same. We can refactor them after we move the code to the Intra repository.

Related PR: https://github.com/Jigsaw-Code/outline-sdk/pull/66

jyyi1 commented 1 year ago

@fortuna , this PR is ready for review. Thanks.