ephem.proto 395 Bytes
Newer Older
Wei Shoulin's avatar
Wei Shoulin committed
1
2
3
4
5
6
7
8
syntax = "proto3";

package dfs.ephem;
option go_package = "cnlab.net/csst/proto/common/ephem";

import "common/error.proto";

service EphemSearchSrv {
Wei Shoulin's avatar
C9    
Wei Shoulin committed
9
	rpc Search(SearchRequest) returns (stream SearchResponse) {}
Wei Shoulin's avatar
Wei Shoulin committed
10
11
}

Wei Shoulin's avatar
C9    
Wei Shoulin committed
12
13
message SearchRequest {
	map<string,string> conditions = 1;
Wei Shoulin's avatar
Wei Shoulin committed
14
15
}

Wei Shoulin's avatar
C9    
Wei Shoulin committed
16
message SearchResponse {
Wei Shoulin's avatar
Wei Shoulin committed
17
18
19
20
21
22
	bool success = 1;
	int32 totalCount = 2;
	common.Error error = 3;
	bytes records = 4;
}