1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
v2fly/transport/internet/config.proto
Darien Raymond b81d091fb8
comments
2016-10-18 00:09:49 +02:00

28 lines
773 B
Protocol Buffer

syntax = "proto3";
package 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/loader/type.proto";
message NetworkSettings {
// Type of network that this settings supports.
v2ray.core.common.net.Network network = 1;
// Specific settings.
v2ray.core.common.loader.TypedSettings 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.loader.TypedSettings security_settings = 4;
}