Add cloudflared inbound

This commit is contained in:
世界
2026-04-10 13:23:42 +08:00
parent ad7593a92f
commit 1e6fd30bdb
18 changed files with 415 additions and 3 deletions

12
include/cloudflared.go Normal file
View File

@@ -0,0 +1,12 @@
//go:build with_cloudflared
package include
import (
"github.com/sagernet/sing-box/adapter/inbound"
"github.com/sagernet/sing-box/protocol/cloudflare"
)
func registerCloudflaredInbound(registry *inbound.Registry) {
cloudflare.RegisterInbound(registry)
}