mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-14 08:52:47 +03:00
11 lines
200 B
Go
11 lines
200 B
Go
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)
|
|
}
|
|
}
|