| 
									
										
										
										
											2016-01-02 23:32:18 +01:00
										 |  |  | package repo | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import ( | 
					
						
							|  |  |  | 	"github.com/v2ray/v2ray-core/app" | 
					
						
							|  |  |  | 	"github.com/v2ray/v2ray-core/proxy" | 
					
						
							|  |  |  | 	"github.com/v2ray/v2ray-core/proxy/internal" | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-04 14:25:13 +02:00
										 |  |  | func CreateInboundHandler(name string, space app.Space, rawConfig []byte, meta *proxy.InboundHandlerMeta) (proxy.InboundHandler, error) { | 
					
						
							|  |  |  | 	return internal.CreateInboundHandler(name, space, rawConfig, meta) | 
					
						
							| 
									
										
										
										
											2016-01-02 23:32:18 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-04 14:25:13 +02:00
										 |  |  | func CreateOutboundHandler(name string, space app.Space, rawConfig []byte, meta *proxy.OutboundHandlerMeta) (proxy.OutboundHandler, error) { | 
					
						
							|  |  |  | 	return internal.CreateOutboundHandler(name, space, rawConfig, meta) | 
					
						
							| 
									
										
										
										
											2016-01-02 23:32:18 +01:00
										 |  |  | } |