mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-04 20:36:37 +00:00
16 lines
273 B
Go
16 lines
273 B
Go
|
//go:build with_embedded_tor && (android || ios)
|
||
|
|
||
|
package outbound
|
||
|
|
||
|
import (
|
||
|
"github.com/cretz/bine/tor"
|
||
|
"github.com/ooni/go-libtor"
|
||
|
)
|
||
|
|
||
|
func newConfig() tor.StartConf {
|
||
|
return tor.StartConf{
|
||
|
ProcessCreator: libtor.Creator,
|
||
|
UseEmbeddedControlConn: true,
|
||
|
}
|
||
|
}
|