Xray-core/proxy/trojan/config.proto

33 lines
694 B
Protocol Buffer
Raw Permalink Normal View History

2020-11-25 13:01:53 +02:00
syntax = "proto3";
package xray.proxy.trojan;
option csharp_namespace = "Xray.Proxy.Trojan";
2020-12-04 03:36:16 +02:00
option go_package = "github.com/xtls/xray-core/proxy/trojan";
2020-11-25 13:01:53 +02:00
option java_package = "com.xray.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 {
string name = 1;
string alpn = 2;
string path = 3;
string type = 4;
string dest = 5;
uint64 xver = 6;
2020-11-25 13:01:53 +02:00
}
message ClientConfig {
repeated xray.common.protocol.ServerEndpoint server = 1;
}
message ServerConfig {
repeated xray.common.protocol.User users = 1;
2023-07-06 18:18:05 +03:00
repeated Fallback fallbacks = 2;
2020-11-25 13:01:53 +02:00
}