| 123456789101112131415161718 |
- package splithttp
- import (
- "context"
- "github.com/xtls/xray-core/common"
- "github.com/xtls/xray-core/common/errors"
- )
- //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, errors.New("splithttp is a transport protocol.")
- }))
- }
|