mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-10-19 10:13:37 -04:00
18 lines
391 B
Go
18 lines
391 B
Go
|
package assembly
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"github.com/v2fly/v2ray-core/v5/common"
|
||
|
)
|
||
|
|
||
|
//go:generate go run github.com/v2fly/v2ray-core/v5/common/errors/errorgen
|
||
|
|
||
|
const protocolName = "request"
|
||
|
|
||
|
func init() {
|
||
|
common.Must(common.RegisterConfig((*Config)(nil), func(ctx context.Context, config interface{}) (interface{}, error) {
|
||
|
return nil, newError("request is a transport protocol.")
|
||
|
}))
|
||
|
}
|