2018-07-04 11:48:48 -04:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package v2ray.core.proxy.mtproto;
|
|
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Mtproto";
|
2020-08-24 08:10:26 -04:00
|
|
|
option go_package = "v2ray.com/core/proxy/mtproto";
|
2018-07-04 11:48:48 -04:00
|
|
|
option java_package = "com.v2ray.core.proxy.mtproto";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
|
2020-08-24 08:10:26 -04:00
|
|
|
import "common/protocol/user.proto";
|
2018-07-04 11:48:48 -04:00
|
|
|
|
|
|
|
message Account {
|
|
|
|
bytes secret = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ServerConfig {
|
|
|
|
// User is a list of users that allowed to connect to this inbound.
|
2020-10-04 20:36:40 -04:00
|
|
|
// Although this is a repeated field, only the first user is effective for
|
|
|
|
// now.
|
2018-07-04 11:48:48 -04:00
|
|
|
repeated v2ray.core.common.protocol.User user = 1;
|
|
|
|
}
|
|
|
|
|
2020-10-04 20:36:40 -04:00
|
|
|
message ClientConfig {}
|