Export std net bind

This commit is contained in:
世界 2023-12-15 18:44:05 +08:00
parent a71256d250
commit 73f8c6542b
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
5 changed files with 129 additions and 39 deletions

View file

@ -7,4 +7,8 @@
package conn
func NewDefaultBind() Bind { return NewStdNetBind() }
import "github.com/sagernet/sing/common/control"
func NewDefaultBind(externalControl control.Func) Bind {
return NewStdNetBind(externalControl)
}