mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-16 17:38:45 -05:00
e445d21f4b
* Add trojan protocol support Co-authored-by: Eken Chan <ekenchan@msn.com> Co-authored-by: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com>
29 lines
627 B
Protocol Buffer
29 lines
627 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package v2ray.core.proxy.trojan;
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Trojan";
|
|
option go_package = "v2ray.com/core/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";
|
|
|
|
message Account {
|
|
string password = 1;
|
|
}
|
|
|
|
message Fallback {
|
|
string type = 1;
|
|
string dest = 2;
|
|
}
|
|
|
|
message ClientConfig {
|
|
repeated v2ray.core.common.protocol.ServerEndpoint server = 1;
|
|
}
|
|
|
|
message ServerConfig {
|
|
repeated v2ray.core.common.protocol.User users = 1;
|
|
Fallback fallback = 2;
|
|
}
|