mirror of https://github.com/v2ray/v2ray-core
				
				
				
			typos
							parent
							
								
									76b0db2016
								
							
						
					
					
						commit
						25dfa66822
					
				| 
						 | 
					@ -32,7 +32,7 @@ const (
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// VMessRequest implements the request message of VMess protocol. It only contains the header of a
 | 
					// 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.
 | 
					// streaming.
 | 
				
			||||||
type VMessRequest struct {
 | 
					type VMessRequest struct {
 | 
				
			||||||
	Version        byte
 | 
						Version        byte
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,7 +11,7 @@ import (
 | 
				
			||||||
	"github.com/v2ray/v2ray-core/common/log"
 | 
						"github.com/v2ray/v2ray-core/common/log"
 | 
				
			||||||
	"github.com/v2ray/v2ray-core/shell/point"
 | 
						"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/blackhole"
 | 
				
			||||||
	_ "github.com/v2ray/v2ray-core/proxy/dokodemo"
 | 
						_ "github.com/v2ray/v2ray-core/proxy/dokodemo"
 | 
				
			||||||
	_ "github.com/v2ray/v2ray-core/proxy/freedom"
 | 
						_ "github.com/v2ray/v2ray-core/proxy/freedom"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,7 +8,7 @@ import (
 | 
				
			||||||
	"github.com/v2ray/v2ray-core/common/log"
 | 
						"github.com/v2ray/v2ray-core/common/log"
 | 
				
			||||||
	"github.com/v2ray/v2ray-core/shell/point"
 | 
						"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/blackhole"
 | 
				
			||||||
	_ "github.com/v2ray/v2ray-core/proxy/dokodemo"
 | 
						_ "github.com/v2ray/v2ray-core/proxy/dokodemo"
 | 
				
			||||||
	_ "github.com/v2ray/v2ray-core/proxy/freedom"
 | 
						_ "github.com/v2ray/v2ray-core/proxy/freedom"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -29,7 +29,7 @@ type InboundRay interface {
 | 
				
			||||||
	InboundOutput() <-chan *alloc.Buffer
 | 
						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 {
 | 
					type Ray interface {
 | 
				
			||||||
	InboundRay
 | 
						InboundRay
 | 
				
			||||||
	OutboundRay
 | 
						OutboundRay
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue