sing-box/include/quic.go

19 lines
508 B
Go
Raw Normal View History

2022-09-14 04:46:02 +00:00
//go:build with_quic
package include
2022-09-26 11:37:06 +00:00
import (
2024-11-01 16:39:02 +00:00
"github.com/sagernet/sing-box/adapter/outbound"
"github.com/sagernet/sing-box/protocol/hysteria"
"github.com/sagernet/sing-box/protocol/hysteria2"
"github.com/sagernet/sing-box/protocol/tuic"
2022-09-26 11:37:06 +00:00
_ "github.com/sagernet/sing-box/transport/v2rayquic"
_ "github.com/sagernet/sing-dns/quic"
)
2024-11-01 16:39:02 +00:00
func registerQUICOutbounds(registry *outbound.Registry) {
hysteria.RegisterOutbound(registry)
tuic.RegisterOutbound(registry)
hysteria2.RegisterOutbound(registry)
}