blob: 6a7b9d14776cee63223c9e5306db6c4e4ab26b66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
package main
type SearchQuery struct {
Query string
MaxResults int64
Page int64
}
type BaseResponse struct {
GlobalVars GlobalVars
}
type SearchResponse struct {
GlobalVars GlobalVars
Success bool
SearchResults []interface{}
NumResults int
TotalResults int64
MoreResults bool
OriginalQuery SearchQuery
Offset int64
LastOffset int64
NumPages int
MaxResults int64
CurPage int64
ShowPrev bool
PrevPage int64
NextPage int64
}
type DocumentResponse struct {
GlobalVars GlobalVars
SearchResults interface{}
SummaryPDF string
}
type GlobalVars struct {
Name string
}
|