mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-23 00:51:29 +00:00
16 lines
248 B
Go
16 lines
248 B
Go
|
//go:build with_embedded_tor
|
||
|
|
||
|
package outbound
|
||
|
|
||
|
import (
|
||
|
"berty.tech/go-libtor"
|
||
|
"github.com/cretz/bine/tor"
|
||
|
)
|
||
|
|
||
|
func newConfig() tor.StartConf {
|
||
|
return tor.StartConf{
|
||
|
ProcessCreator: libtor.Creator,
|
||
|
UseEmbeddedControlConn: true,
|
||
|
}
|
||
|
}
|