Export std net bind
This commit is contained in:
parent
a71256d250
commit
73f8c6542b
5 changed files with 129 additions and 39 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue