mirror of https://github.com/v2ray/v2ray-core
				
				
				
			comments
							parent
							
								
									242e65e424
								
							
						
					
					
						commit
						3d8f837c07
					
				|  | @ -9,6 +9,7 @@ import ( | |||
| 	"v2ray.com/core/common/buf" | ||||
| ) | ||||
| 
 | ||||
| // ConfigFormat is a configurable format of V2Ray config file.
 | ||||
| type ConfigFormat struct { | ||||
| 	Name      string | ||||
| 	Extension []string | ||||
|  |  | |||
|  | @ -17,7 +17,7 @@ var _ = math.Inf | |||
| // proto package needs to be updated.
 | ||||
| const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
 | ||||
| 
 | ||||
| // Master config of V2Ray. V2Ray takes this config as input and functions accordingly.
 | ||||
| // Config is the master config of V2Ray. V2Ray takes this config as input and functions accordingly.
 | ||||
| type Config struct { | ||||
| 	// Inbound handler configurations. Must have at least one item.
 | ||||
| 	Inbound []*InboundHandlerConfig `protobuf:"bytes,1,rep,name=inbound" json:"inbound,omitempty"` | ||||
|  |  | |||
|  | @ -9,7 +9,7 @@ option java_multiple_files = true; | |||
| import "v2ray.com/core/common/serial/typed_message.proto"; | ||||
| import "v2ray.com/core/transport/config.proto"; | ||||
| 
 | ||||
| // Master config of V2Ray. V2Ray takes this config as input and functions accordingly. | ||||
| // Config is the master config of V2Ray. V2Ray takes this config as input and functions accordingly. | ||||
| message Config { | ||||
|   // Inbound handler configurations. Must have at least one item. | ||||
|   repeated InboundHandlerConfig inbound = 1; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Darien Raymond
						Darien Raymond