2020-11-25 13:01:53 +02:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package xray.proxy.mtproto;
|
|
|
|
option csharp_namespace = "Xray.Proxy.Mtproto";
|
2020-12-04 03:36:16 +02:00
|
|
|
option go_package = "github.com/xtls/xray-core/proxy/mtproto";
|
2020-11-25 13:01:53 +02:00
|
|
|
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 {}
|