1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00
v2fly/transport/internet/config.proto
2016-12-23 00:24:28 +01:00

33 lines
882 B
Protocol Buffer

syntax = "proto3";
package v2ray.core.transport.internet;
option csharp_namespace = "V2Ray.Core.Transport.Internet";
option go_package = "internet";
option java_package = "com.v2ray.core.transport.internet";
import "v2ray.com/core/common/net/network.proto";
import "v2ray.com/core/common/serial/typed_message.proto";
message NetworkSettings {
// Type of network that this settings supports.
v2ray.core.common.net.Network network = 1;
// Specific settings.
v2ray.core.common.serial.TypedMessage settings = 2;
}
message StreamConfig {
// Effective network.
v2ray.core.common.net.Network network = 1;
repeated NetworkSettings network_settings = 2;
// Type of security. Must be a message name of the settings proto.
string security_type = 3;
repeated v2ray.core.common.serial.TypedMessage security_settings = 4;
}
message ProxyConfig {
string tag = 1;
}