mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-09-30 13:05:43 +00:00
Closes https://github.com/XTLS/Xray-core/issues/5495#issuecomment-3710683679
19 lines
346 B
Go
19 lines
346 B
Go
package masque
|
|
|
|
import (
|
|
"github.com/xtls/xray-core/common"
|
|
"github.com/xtls/xray-core/transport/internet"
|
|
)
|
|
|
|
const protocolName = "masque"
|
|
|
|
const DefaultPath = "/.well-known/masque/ip/*/*/"
|
|
|
|
func init() {
|
|
common.Must(internet.RegisterProtocolConfigCreator(protocolName, func() interface{} {
|
|
return &Config{
|
|
Path: DefaultPath,
|
|
}
|
|
}))
|
|
}
|