mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-28 22:31:25 +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)
|
||
|
}))
|
||
|
}
|