@@ -11,18 +11,16 @@ import (
1111)
1212
1313type RequestEvent struct {
14- RealIP string `json:",omitempty"`
15- Endpoint string `json:",omitempty"`
16- Method string `json:",omitempty"`
17- Errors []string `json:",omitempty"`
18- Requester int64 `json:",omitempty"`
19- Contacts * []string `json:",omitempty"`
20- RequestNonce string `json:",omitempty"`
21- ResponseNonce string `json:",omitempty"`
22- UserAgent string `json:",omitempty"`
23- Code int
24- Payload string `json:",omitempty"`
25- Extra map [string ]interface {} `json:",omitempty"`
14+ RealIP string `json:",omitempty"`
15+ Endpoint string `json:",omitempty"`
16+ Method string `json:",omitempty"`
17+ Errors []string `json:",omitempty"`
18+ Requester int64 `json:",omitempty"`
19+ Contacts * []string `json:",omitempty"`
20+ UserAgent string `json:",omitempty"`
21+ Code int
22+ Payload string `json:",omitempty"`
23+ Extra map [string ]interface {} `json:",omitempty"`
2624}
2725
2826func (e * RequestEvent ) AddError (msg string , args ... interface {}) {
0 commit comments