Add xhttp transport

This commit is contained in:
Sergei Maklagin
2025-06-08 19:35:59 +03:00
parent 5c911c97d8
commit 0238c54261
50 changed files with 4691 additions and 7 deletions

View File

@@ -0,0 +1,10 @@
package task
import "github.com/sagernet/sing-box/common/xray"
// Close returns a func() that closes v.
func Close(v interface{}) func() error {
return func() error {
return common.Close(v)
}
}