2020-09-26 11:31:24 -04:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package v2ray.core.proxy.trojan;
|
|
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Trojan";
|
2022-01-02 10:16:23 -05:00
|
|
|
option go_package = "github.com/v2fly/v2ray-core/v5/proxy/trojan";
|
2020-09-26 11:31:24 -04:00
|
|
|
option java_package = "com.v2ray.core.proxy.trojan";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
|
|
|
|
import "common/protocol/user.proto";
|
|
|
|
import "common/protocol/server_spec.proto";
|
|
|
|
|
|
|
|
message Account {
|
|
|
|
string password = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Fallback {
|
2020-10-03 09:12:35 -04:00
|
|
|
string alpn = 1;
|
|
|
|
string path = 2;
|
|
|
|
string type = 3;
|
|
|
|
string dest = 4;
|
|
|
|
uint64 xver = 5;
|
2020-09-26 11:31:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
message ClientConfig {
|
|
|
|
repeated v2ray.core.common.protocol.ServerEndpoint server = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ServerConfig {
|
|
|
|
repeated v2ray.core.common.protocol.User users = 1;
|
2020-10-03 09:12:35 -04:00
|
|
|
repeated Fallback fallbacks = 3;
|
2020-09-26 11:31:24 -04:00
|
|
|
}
|