You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
v2ray-core/config.proto

33 lines
1.0 KiB

8 years ago
syntax = "proto3";
package v2ray.core;
option csharp_namespace = "V2Ray.Core";
8 years ago
option go_package = "core";
option java_package = "com.v2ray.core";
option java_outer_classname = "ConfigProto";
import "v2ray.com/core/app/proxyman/config.proto";
import "v2ray.com/core/common/serial/typed_message.proto";
import "v2ray.com/core/common/log/config.proto";
import "v2ray.com/core/transport/config.proto";
8 years ago
8 years ago
// Configuration serialization format.
8 years ago
enum ConfigFormat {
Protobuf = 0;
JSON = 1;
}
message Config {
8 years ago
// Inbound handler configurations. Must have at least one item.
repeated v2ray.core.app.proxyman.InboundHandlerConfig inbound = 1;
8 years ago
// Outbound handler configurations. Must have at least one item. The first item is used as default for routing.
repeated v2ray.core.app.proxyman.OutboundHandlerConfig outbound = 2;
v2ray.core.common.log.Config log = 3;
8 years ago
// App configuration. Must be one in the app directory.
repeated v2ray.core.common.serial.TypedMessage app = 4;
v2ray.core.transport.Config transport = 5;
}