41 lines
713 B
Protocol Buffer
41 lines
713 B
Protocol Buffer
package mt;
|
|
|
|
option go_package = ".;mt";
|
|
|
|
message IMCluster
|
|
{
|
|
optional int32 instance_id = 1;
|
|
optional int32 listen_port = 2;
|
|
optional int32 http_listen_port = 3;
|
|
}
|
|
|
|
message MasterCluster
|
|
{
|
|
optional int32 instance_id = 1;
|
|
optional string ip = 2;
|
|
optional int32 listen_port = 3;
|
|
}
|
|
|
|
message GameDb
|
|
{
|
|
optional string host = 1;
|
|
optional int32 port = 2;
|
|
optional string user = 3;
|
|
optional string passwd = 4;
|
|
optional string database = 5;
|
|
}
|
|
|
|
message FriendDb
|
|
{
|
|
optional string host = 1;
|
|
optional int32 port = 2;
|
|
optional string user = 3;
|
|
optional string passwd = 4;
|
|
optional string database = 5;
|
|
}
|
|
|
|
message Config
|
|
{
|
|
optional string gameapi_url = 1;
|
|
}
|