1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-10-14 04:54:03 -04:00

unified task package

This commit is contained in:
Darien Raymond
2018-05-27 13:02:29 +02:00
parent 7fa4bb434b
commit 13f3c356ca
21 changed files with 252 additions and 66 deletions

9
common/task/common.go Normal file
View File

@@ -0,0 +1,9 @@
package task
import "v2ray.com/core/common"
func Close(v interface{}) Task {
return func() error {
return common.Close(v)
}
}