mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-23 11:02:25 +03:00
Add xhttp transport
This commit is contained in:
10
common/xray/task/common.go
Normal file
10
common/xray/task/common.go
Normal 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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user