mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-23 07:23:01 +00:00
18 lines
386 B
Go
18 lines
386 B
Go
|
package splithttp
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"github.com/xtls/xray-core/common"
|
||
|
)
|
||
|
|
||
|
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
|
||
|
|
||
|
const protocolName = "splithttp"
|
||
|
|
||
|
func init() {
|
||
|
common.Must(common.RegisterConfig((*Config)(nil), func(ctx context.Context, config interface{}) (interface{}, error) {
|
||
|
return nil, newError("splithttp is a transport protocol.")
|
||
|
}))
|
||
|
}
|