Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestDetailsView ¶
type RequestDetailsView struct { RequestType *string `json:"requestType"` Path *string `json:"path"` Method *string `json:"method"` Destination *string `json:"destination"` Scheme *string `json:"scheme"` Query *string `json:"query"` Body *string `json:"body"` Headers map[string][]string `json:"headers"` }
RequestDetailsView is used when marshalling and unmarshalling RequestDetails
type RequestResponsePairPayload ¶ added in v0.8.1
type RequestResponsePairPayload struct {
Data []RequestResponsePairView `json:"data"`
}
type RequestResponsePairView ¶ added in v0.8.1
type RequestResponsePairView struct { Response ResponseDetailsView `json:"response"` Request RequestDetailsView `json:"request"` }
PayloadView is used when marshalling and unmarshalling payloads.
type ResponseDetailsView ¶
type ResponseDetailsView struct { Status int `json:"status"` Body string `json:"body"` EncodedBody bool `json:"encodedBody"` Headers map[string][]string `json:"headers"` }
ResponseDetailsView is used when marshalling and unmarshalling requests. This struct's Body may be Base64 encoded based on the EncodedBody field.
Click to show internal directories.
Click to hide internal directories.