mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
format code
This commit is contained in:
parent
0ce10e1f88
commit
26b6c06c9e
@ -259,9 +259,9 @@ type VMessResponse [4]byte
|
|||||||
|
|
||||||
// NewVMessResponse creates a VMessResponse from a given VMessRequest.
|
// NewVMessResponse creates a VMessResponse from a given VMessRequest.
|
||||||
func NewVMessResponse(request *VMessRequest) *VMessResponse {
|
func NewVMessResponse(request *VMessRequest) *VMessResponse {
|
||||||
return &VMessResponse{
|
return &VMessResponse{
|
||||||
request.ResponseHeader[0],
|
request.ResponseHeader[0],
|
||||||
request.ResponseHeader[1],
|
request.ResponseHeader[1],
|
||||||
request.ResponseHeader[2],
|
request.ResponseHeader[2],
|
||||||
request.ResponseHeader[3]}
|
request.ResponseHeader[3]}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user