mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-08-24 21:56:25 +00:00
23 lines
579 B
Protocol Buffer
23 lines
579 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package xray.proxy.mtproto;
|
|
option csharp_namespace = "Xray.Proxy.Mtproto";
|
|
option go_package = "github.com/xtls/xray-core/v1/proxy/mtproto";
|
|
option java_package = "com.xray.proxy.mtproto";
|
|
option java_multiple_files = true;
|
|
|
|
import "common/protocol/user.proto";
|
|
|
|
message Account {
|
|
bytes secret = 1;
|
|
}
|
|
|
|
message ServerConfig {
|
|
// User is a list of users that allowed to connect to this inbound.
|
|
// Although this is a repeated field, only the first user is effective for
|
|
// now.
|
|
repeated xray.common.protocol.User user = 1;
|
|
}
|
|
|
|
message ClientConfig {}
|