mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-05 10:47:32 +03:00
18 lines
418 B
Go
18 lines
418 B
Go
//go:build with_trusttunnel
|
|
|
|
package include
|
|
|
|
import (
|
|
"github.com/sagernet/sing-box/adapter/inbound"
|
|
"github.com/sagernet/sing-box/adapter/outbound"
|
|
"github.com/sagernet/sing-box/protocol/trusttunnel"
|
|
)
|
|
|
|
func registerTrustTunnelInbound(registry *inbound.Registry) {
|
|
trusttunnel.RegisterInbound(registry)
|
|
}
|
|
|
|
func registerTrustTunnelOutbound(registry *outbound.Registry) {
|
|
trusttunnel.RegisterOutbound(registry)
|
|
}
|