Versions in this module Expand all Collapse all v0 v0.6.0 May 20, 2016 GO-2024-3108 GO-2024-3108: Hoverfly allows an arbitrary file read in the `/api/v2/simulation` endpoint (`GHSL-2023-274`) in github.com/SpectoLabs/hoverfly Changes in this version + type Payload struct + Request RequestDetails + Response ResponseDetails + func NewPayloadFromBytes(data []byte) (*Payload, error) + func (p *Payload) ConvertToPayloadView() *PayloadView + func (p *Payload) Encode() ([]byte, error) + func (p Payload) Id() string + type PayloadView struct + Request RequestDetailsView + Response ResponseDetailsView + func (p *PayloadView) Encode() ([]byte, error) + func (r *PayloadView) ConvertToPayload() Payload + type PayloadViewData struct + Data []PayloadView + type RequestDetails struct + Body string + Destination string + Headers map[string][]string + Method string + Path string + Query string + Scheme string + func (r *RequestDetails) ConvertToRequestDetailsView() RequestDetailsView + func (r *RequestDetails) Hash() string + type RequestDetailsView struct + Body string + Destination string + Headers map[string][]string + Method string + Path string + Query string + Scheme string + func (r *RequestDetailsView) ConvertToRequestDetails() RequestDetails + type ResponseDetails struct + Body string + Headers map[string][]string + Status int + func (r *ResponseDetails) ConvertToResponseDetailsView() ResponseDetailsView + type ResponseDetailsView struct + Body string + EncodedBody bool + Headers map[string][]string + Status int + func (r *ResponseDetailsView) ConvertToResponseDetails() ResponseDetails