export DialerController

This commit is contained in:
yiguo
2023-11-24 12:45:07 +08:00
parent 86803c669f
commit 7871d1fdcc
3 changed files with 5 additions and 5 deletions

5
controller.go Normal file
View File

@@ -0,0 +1,5 @@
package libXray
type DialerController interface {
ProtectFd(int) bool
}

View File

@@ -6,10 +6,6 @@ import (
xinternet "github.com/xtls/xray-core/transport/internet"
)
type DialerController interface {
ProtectFd(int) bool
}
// Give a callback before connection beginning. Useful for Android development.
// It depends on xray:api:beta
func RegisterDialerController(controller DialerController) {

View File

@@ -1 +0,0 @@
package libXray