-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresponses.go
162 lines (153 loc) · 6.31 KB
/
responses.go
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
package rangomorg
import "github.com/google/uuid"
type License struct {
LicenseType string `json:"type"`
Text string `json:"text"`
InfoUrl string `json:"infoUrl"`
}
type SignedIntegersResult struct {
Random SignedIntegersRandom `json:"random"`
Signature string `json:"signature"`
BitsUsed int `json:"bitsUsed"`
BitsLeft int `json:"bitsLeft"`
RequestsLeft int `json:"requestsLeft"`
AdvisoryDelay int `json:"advisoryDelay"`
}
type SignedIntegersRandom struct {
Method string `json:"method"`
HashedApiKey string `json:"hashedApiKey"`
N int `json:"n"`
Min int `json:"min"`
Max int `json:"max"`
Replacement bool `json:"replacement"`
Base int `json:"base"`
Data []int `json:"data"`
License License `json:"license"`
UserData string `json:"userData"`
SerialNumber int `json:"serialNumber"`
CompletionTime string `json:"completionTime"`
}
type SignedIntegerSequencesResult struct {
Random SignedIntegerSequencesRandom `json:"random"`
Signature string `json:"signature"`
BitsUsed int `json:"bitsUsed"`
BitsLeft int `json:"bitsLeft"`
RequestsLeft int `json:"requestsLeft"`
AdvisoryDelay int `json:"advisoryDelay"`
}
type SignedIntegerSequencesRandom struct {
Method string `json:"method"`
HashedApiKey string `json:"hashedApiKey"`
N int `json:"n"`
Min int `json:"min"`
Max int `json:"max"`
Length int `json:"length"`
Replacement bool `json:"replacement"`
Base int `json:"base"`
Data [][]int `json:"data"`
License License `json:"license"`
UserData string `json:"userData"`
SerialNumber int `json:"serialNumber"`
CompletionTime string `json:"completionTime"`
}
type SignedDecimalFractionsResult struct {
Random SignedDecimalFractionsRandom `json:"random"`
Signature string `json:"signature"`
BitsUsed int `json:"bitsUsed"`
BitsLeft int `json:"bitsLeft"`
RequestsLeft int `json:"requestsLeft"`
AdvisoryDelay int `json:"advisoryDelay"`
}
type SignedDecimalFractionsRandom struct {
Method string `json:"method"`
HashedApiKey string `json:"hashedApiKey"`
N int `json:"n"`
DecimalPlaces int `json:"decimalPlaces"`
Replacement bool `json:"replacement"`
Data []float32 `json:"data"`
License License `json:"license"`
UserData string `json:"userData"`
SerialNumber int `json:"serialNumber"`
CompletionTime string `json:"completionTime"`
}
type SignedGaussiansResult struct {
Random SignedGaussiansRandom `json:"random"`
Signature string `json:"signature"`
BitsUsed int `json:"bitsUsed"`
BitsLeft int `json:"bitsLeft"`
RequestsLeft int `json:"requestsLeft"`
AdvisoryDelay int `json:"advisoryDelay"`
}
type SignedGaussiansRandom struct {
Method string `json:"method"`
HashedApiKey string `json:"hashedApiKey"`
N int `json:"n"`
Mean int `json:"mean"`
StandardDeviation int `json:"standardDeviation"`
SignificantDigits int `json:"significantDigits"`
Replacement bool `json:"replacement"`
Data []float32 `json:"data"`
License License `json:"license"`
UserData string `json:"userData"`
SerialNumber int `json:"serialNumber"`
CompletionTime string `json:"completionTime"`
}
type SignedStringsResult struct {
Random SignedStringsRandom `json:"random"`
Signature string `json:"signature"`
BitsUsed int `json:"bitsUsed"`
BitsLeft int `json:"bitsLeft"`
RequestsLeft int `json:"requestsLeft"`
AdvisoryDelay int `json:"advisoryDelay"`
}
type SignedStringsRandom struct {
Method string `json:"method"`
HashedApiKey string `json:"hashedApiKey"`
N int `json:"n"`
Length int `json:"length"`
Characters string `json:"characters"`
Replacement bool `json:"replacement"`
Base int `json:"base"`
Data []string `json:"data"`
License License `json:"license"`
UserData string `json:"userData"`
SerialNumber int `json:"serialNumber"`
CompletionTime string `json:"completionTime"`
}
type SignedUUIDsResult struct {
Random SignedUUIDsRandom `json:"random"`
Signature string `json:"signature"`
BitsUsed int `json:"bitsUsed"`
BitsLeft int `json:"bitsLeft"`
RequestsLeft int `json:"requestsLeft"`
AdvisoryDelay int `json:"advisoryDelay"`
}
type SignedUUIDsRandom struct {
Method string `json:"method"`
HashedApiKey string `json:"hashedApiKey"`
N int `json:"n"`
Data []uuid.UUID `json:"data"`
License License `json:"license"`
UserData string `json:"userData"`
SerialNumber int `json:"serialNumber"`
CompletionTime string `json:"completionTime"`
}
type SignedBlobsResult struct {
Random SignedBlobsRandom `json:"random"`
Signature string `json:"signature"`
BitsUsed int `json:"bitsUsed"`
BitsLeft int `json:"bitsLeft"`
RequestsLeft int `json:"requestsLeft"`
AdvisoryDelay int `json:"advisoryDelay"`
}
type SignedBlobsRandom struct {
Method string `json:"method"`
HashedApiKey string `json:"hashedApiKey"`
N int `json:"n"`
Size int `json:"size"`
Data []uuid.UUID `json:"data"`
License License `json:"license"`
UserData string `json:"userData"`
SerialNumber int `json:"serialNumber"`
CompletionTime string `json:"completionTime"`
}