mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-18 02:16:10 -05:00
28 lines
947 B
Protocol Buffer
28 lines
947 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package v2ray.core.proxy.trojan.simplified;
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Trojan.Simplified";
|
|
option go_package = "github.com/v2fly/v2ray-core/v5/proxy/trojan/simplified";
|
|
option java_package = "com.v2ray.core.proxy.trojan.simplified";
|
|
option java_multiple_files = true;
|
|
|
|
import "common/protoext/extensions.proto";
|
|
import "common/net/address.proto";
|
|
import "common/net/packetaddr/config.proto";
|
|
|
|
message ServerConfig{
|
|
option (v2ray.core.common.protoext.message_opt).type = "inbound";
|
|
option (v2ray.core.common.protoext.message_opt).short_name = "trojan";
|
|
|
|
repeated string users = 1;
|
|
v2ray.core.net.packetaddr.PacketAddrType packet_encoding = 2;
|
|
}
|
|
|
|
message ClientConfig {
|
|
option (v2ray.core.common.protoext.message_opt).type = "outbound";
|
|
option (v2ray.core.common.protoext.message_opt).short_name = "trojan";
|
|
|
|
v2ray.core.common.net.IPOrDomain address = 1;
|
|
uint32 port = 2;
|
|
string password = 3;
|
|
} |