sing-box/outbound/tor_embed.go

16 lines
269 B
Go
Raw Normal View History

2023-03-15 12:59:45 +00:00
//go:build with_embedded_tor && !(android || ios)
2022-08-20 16:59:49 +00:00
package outbound
import (
"berty.tech/go-libtor"
"github.com/cretz/bine/tor"
)
func newConfig() tor.StartConf {
return tor.StartConf{
ProcessCreator: libtor.Creator,
UseEmbeddedControlConn: true,
}
}