Add xhttp transport

This commit is contained in:
Shtorm
2025-06-08 19:35:59 +03:00
parent dfc6fce8bb
commit db5da47a9d
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)
}
}