mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-10 14:26:26 -05:00
34 lines
819 B
Protocol Buffer
34 lines
819 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package v2ray.core.proxy.trojan;
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Trojan";
|
|
option go_package = "github.com/v2fly/v2ray-core/v5/proxy/trojan";
|
|
option java_package = "com.v2ray.core.proxy.trojan";
|
|
option java_multiple_files = true;
|
|
|
|
import "common/protocol/user.proto";
|
|
import "common/protocol/server_spec.proto";
|
|
import "common/net/packetaddr/config.proto";
|
|
|
|
message Account {
|
|
string password = 1;
|
|
}
|
|
|
|
message Fallback {
|
|
string alpn = 1;
|
|
string path = 2;
|
|
string type = 3;
|
|
string dest = 4;
|
|
uint64 xver = 5;
|
|
}
|
|
|
|
message ClientConfig {
|
|
repeated v2ray.core.common.protocol.ServerEndpoint server = 1;
|
|
}
|
|
|
|
message ServerConfig {
|
|
repeated v2ray.core.common.protocol.User users = 1;
|
|
repeated Fallback fallbacks = 3;
|
|
v2ray.core.net.packetaddr.PacketAddrType packet_encoding = 4;
|
|
}
|