sing-box/include/wireguard.go

18 lines
410 B
Go
Raw Normal View History

2024-11-01 16:39:02 +00:00
//go:build with_wireguard
package include
import (
2024-11-21 10:10:41 +00:00
"github.com/sagernet/sing-box/adapter/endpoint"
2024-11-01 16:39:02 +00:00
"github.com/sagernet/sing-box/adapter/outbound"
"github.com/sagernet/sing-box/protocol/wireguard"
)
func registerWireGuardOutbound(registry *outbound.Registry) {
wireguard.RegisterOutbound(registry)
}
2024-11-21 10:10:41 +00:00
func registerWireGuardEndpoint(registry *endpoint.Registry) {
wireguard.RegisterEndpoint(registry)
}