mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-14 08:52:47 +03:00
14 lines
300 B
Go
14 lines
300 B
Go
//go:build with_wireguard
|
|
|
|
package include
|
|
|
|
import (
|
|
"github.com/sagernet/sing-box/adapter/endpoint"
|
|
"github.com/sagernet/sing-box/protocol/wireguard"
|
|
)
|
|
|
|
func registerWireGuardEndpoint(registry *endpoint.Registry) {
|
|
wireguard.RegisterEndpoint(registry)
|
|
wireguard.RegisterWARPEndpoint(registry)
|
|
}
|