You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
470 B
28 lines
470 B
// +bili:type=service |
|
// Code generated by warden. |
|
syntax = "proto3"; |
|
|
|
package location.service; |
|
|
|
|
|
option go_package = "api"; |
|
|
|
message InfoReply { |
|
string addr = 1; |
|
string country = 2; |
|
string province = 3; |
|
string city = 4; |
|
string isp = 5; |
|
double latitude = 6; |
|
double longitude = 7; |
|
int64 zone_id = 8; |
|
} |
|
|
|
message InfoReq { |
|
string addr = 2; |
|
} |
|
|
|
service Location { |
|
// Info get ip info. |
|
rpc Info(InfoReq) returns(InfoReply); |
|
}
|
|
|