1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-06-06 02:59:27 -04:00

refactor core

This commit is contained in:
Darien Raymond
2017-02-10 16:25:54 +01:00
parent e57124ab87
commit a32063dfb5
5 changed files with 27 additions and 8 deletions

View File

@@ -16,6 +16,7 @@ enum ConfigFormat {
JSON = 1;
}
// Master config of V2Ray. V2Ray Core takes this config as input and functions accordingly.
message Config {
// Inbound handler configurations. Must have at least one item.
repeated v2ray.core.app.proxyman.InboundHandlerConfig inbound = 1;
@@ -27,5 +28,7 @@ message Config {
// App configuration. Must be one in the app directory.
repeated v2ray.core.common.serial.TypedMessage app = 4;
// Transport settings.
v2ray.core.transport.Config transport = 5;
}