mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-24 14:39:49 +00:00
23 lines
576 B
Protocol Buffer
23 lines
576 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package xray.proxy.mtproto;
|
|
option csharp_namespace = "Xray.Proxy.Mtproto";
|
|
option go_package = "github.com/xtls/xray-core/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 {}
|