| 32 | } |
| 33 | |
| 34 | type streamer struct { |
| 35 | index string |
| 36 | |
| 37 | m sync.Mutex |
| 38 | req *bleve.SearchRequest |
| 39 | stream pb.SearchService_SearchServer |
| 40 | sizeSet bool |
| 41 | skipSet bool |
| 42 | total int |
| 43 | |
| 44 | curSkip int |
| 45 | curSize int |
| 46 | } |
| 47 | |
| 48 | func newStreamHandler(index string, req *bleve.SearchRequest, |
| 49 | outStream pb.SearchService_SearchServer) *streamer { |
nothing calls this directly
no outgoing calls
no test coverage detected