mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-24 01:21:30 +00:00
18 lines
410 B
Go
18 lines
410 B
Go
//go:build with_wireguard
|
|
|
|
package include
|
|
|
|
import (
|
|
"github.com/sagernet/sing-box/adapter/endpoint"
|
|
"github.com/sagernet/sing-box/adapter/outbound"
|
|
"github.com/sagernet/sing-box/protocol/wireguard"
|
|
)
|
|
|
|
func registerWireGuardOutbound(registry *outbound.Registry) {
|
|
wireguard.RegisterOutbound(registry)
|
|
}
|
|
|
|
func registerWireGuardEndpoint(registry *endpoint.Registry) {
|
|
wireguard.RegisterEndpoint(registry)
|
|
}
|