Refactor bind control

This commit is contained in:
世界 2022-09-14 12:46:02 +08:00
parent 2373281c41
commit 189f02c802
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
16 changed files with 123 additions and 62 deletions

View file

@ -1,5 +0,0 @@
//go:build with_quic
package constant
const QUIC_AVAILABLE = true

View file

@ -1,9 +0,0 @@
//go:build !with_quic
package constant
import E "github.com/sagernet/sing/common/exceptions"
const QUIC_AVAILABLE = false
var ErrQUICNotIncluded = E.New(`QUIC is not included in this build, rebuild with -tags with_quic`)