mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-03-14 04:56:19 +03:00
18 lines
321 B
Go
18 lines
321 B
Go
package quic
|
|
|
|
import (
|
|
"github.com/xtls/xray-core/common"
|
|
"github.com/xtls/xray-core/transport/internet"
|
|
)
|
|
|
|
const (
|
|
protocolName = "quic"
|
|
internalDomain = "quic.internal.example.com"
|
|
)
|
|
|
|
func init() {
|
|
common.Must(internet.RegisterProtocolConfigCreator(protocolName, func() interface{} {
|
|
return new(Config)
|
|
}))
|
|
}
|