mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-02-07 00:40:37 +00:00
18 lines
403 B
Go
18 lines
403 B
Go
//go:build with_tailscale
|
|
|
|
package include
|
|
|
|
import (
|
|
"github.com/sagernet/sing-box/adapter/endpoint"
|
|
"github.com/sagernet/sing-box/dns"
|
|
"github.com/sagernet/sing-box/protocol/tailscale"
|
|
)
|
|
|
|
func registerTailscaleEndpoint(registry *endpoint.Registry) {
|
|
tailscale.RegisterEndpoint(registry)
|
|
}
|
|
|
|
func registerTailscaleTransport(registry *dns.TransportRegistry) {
|
|
tailscale.RegistryTransport(registry)
|
|
}
|