mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
format code
This commit is contained in:
parent
0ce10e1f88
commit
26b6c06c9e
@ -22,7 +22,7 @@ func (u *VMessUser) ToUser() (user.User, error) {
|
||||
}, err
|
||||
}
|
||||
|
||||
// VMessInboundConfig is
|
||||
// VMessInboundConfig is
|
||||
type VMessInboundConfig struct {
|
||||
AllowedClients []VMessUser `json:"clients"`
|
||||
}
|
||||
|
@ -259,9 +259,9 @@ type VMessResponse [4]byte
|
||||
|
||||
// NewVMessResponse creates a VMessResponse from a given VMessRequest.
|
||||
func NewVMessResponse(request *VMessRequest) *VMessResponse {
|
||||
return &VMessResponse{
|
||||
request.ResponseHeader[0],
|
||||
request.ResponseHeader[1],
|
||||
request.ResponseHeader[2],
|
||||
request.ResponseHeader[3]}
|
||||
return &VMessResponse{
|
||||
request.ResponseHeader[0],
|
||||
request.ResponseHeader[1],
|
||||
request.ResponseHeader[2],
|
||||
request.ResponseHeader[3]}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user