Files
sing-box-extended-mirror/include/wireguard.go
T

14 lines
300 B
Go
Raw Normal View History

2024-11-02 00:39:02 +08:00
//go:build with_wireguard
package include
import (
2024-11-21 18:10:41 +08:00
"github.com/sagernet/sing-box/adapter/endpoint"
2024-11-02 00:39:02 +08:00
"github.com/sagernet/sing-box/protocol/wireguard"
)
2024-11-21 18:10:41 +08:00
func registerWireGuardEndpoint(registry *endpoint.Registry) {
wireguard.RegisterEndpoint(registry)
2025-06-08 19:51:17 +03:00
wireguard.RegisterWARPEndpoint(registry)
2024-11-21 18:10:41 +08:00
}