mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-26 20:29:03 +03:00
Add Snell protocol. Refactor MASQUE HTTP/2, Fair Queue. Update XHTTP, OpenVPN, Sudoku, Fallback. Fixes
This commit is contained in:
17
include/snell.go
Normal file
17
include/snell.go
Normal file
@@ -0,0 +1,17 @@
|
||||
//go:build with_snell
|
||||
|
||||
package include
|
||||
|
||||
import (
|
||||
"github.com/sagernet/sing-box/adapter/inbound"
|
||||
"github.com/sagernet/sing-box/adapter/outbound"
|
||||
"github.com/sagernet/sing-box/protocol/snell"
|
||||
)
|
||||
|
||||
func registerSnellInbound(registry *inbound.Registry) {
|
||||
snell.RegisterInbound(registry)
|
||||
}
|
||||
|
||||
func registerSnellOutbound(registry *outbound.Registry) {
|
||||
snell.RegisterOutbound(registry)
|
||||
}
|
||||
Reference in New Issue
Block a user