mirror of
https://github.com/amnezia-vpn/amnezia-libxray.git
synced 2026-05-17 06:55:44 +03:00
export DialerController
This commit is contained in:
5
controller.go
Normal file
5
controller.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package libXray
|
||||
|
||||
type DialerController interface {
|
||||
ProtectFd(int) bool
|
||||
}
|
||||
@@ -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) {
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
package libXray
|
||||
Reference in New Issue
Block a user