From 25dfa66822267150e2bfcd0b5ad7b77b30f976e3 Mon Sep 17 00:00:00 2001 From: v2ray Date: Fri, 5 Feb 2016 22:04:43 +0100 Subject: [PATCH] typos --- proxy/vmess/protocol/vmess.go | 2 +- release/server/main.go | 2 +- testing/scenarios/server_env.go | 2 +- transport/ray/ray.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/proxy/vmess/protocol/vmess.go b/proxy/vmess/protocol/vmess.go index 88279e21..daa2d394 100644 --- a/proxy/vmess/protocol/vmess.go +++ b/proxy/vmess/protocol/vmess.go @@ -32,7 +32,7 @@ const ( ) // VMessRequest implements the request message of VMess protocol. It only contains the header of a -// request message. The data part will be handled by conection handler directly, in favor of data +// request message. The data part will be handled by connection handler directly, in favor of data // streaming. type VMessRequest struct { Version byte diff --git a/release/server/main.go b/release/server/main.go index 745c9bae..8ca1763a 100644 --- a/release/server/main.go +++ b/release/server/main.go @@ -11,7 +11,7 @@ import ( "github.com/v2ray/v2ray-core/common/log" "github.com/v2ray/v2ray-core/shell/point" - // The following are neccesary as they register handlers in their init functions. + // The following are necessary as they register handlers in their init functions. _ "github.com/v2ray/v2ray-core/proxy/blackhole" _ "github.com/v2ray/v2ray-core/proxy/dokodemo" _ "github.com/v2ray/v2ray-core/proxy/freedom" diff --git a/testing/scenarios/server_env.go b/testing/scenarios/server_env.go index fbf81373..df946c56 100644 --- a/testing/scenarios/server_env.go +++ b/testing/scenarios/server_env.go @@ -8,7 +8,7 @@ import ( "github.com/v2ray/v2ray-core/common/log" "github.com/v2ray/v2ray-core/shell/point" - // The following are neccesary as they register handlers in their init functions. + // The following are necessary as they register handlers in their init functions. _ "github.com/v2ray/v2ray-core/proxy/blackhole" _ "github.com/v2ray/v2ray-core/proxy/dokodemo" _ "github.com/v2ray/v2ray-core/proxy/freedom" diff --git a/transport/ray/ray.go b/transport/ray/ray.go index c6a5ef0d..0dcc0c98 100644 --- a/transport/ray/ray.go +++ b/transport/ray/ray.go @@ -29,7 +29,7 @@ type InboundRay interface { InboundOutput() <-chan *alloc.Buffer } -// Ray is an internal tranport channel bewteen inbound and outbound connection. +// Ray is an internal tranport channel between inbound and outbound connection. type Ray interface { InboundRay OutboundRay