Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIRequest ¶
type APIRequest struct { Method string Path string RequestJSON any // if non-nil, will be encoded as JSON ExpectStatusCode int ExpectBody *string // raw content (not a file path) ExpectJSON string // path to JSON file ExpectFile string // path to arbitrary file }
APIRequest contains all metadata about a test request.
Click to show internal directories.
Click to hide internal directories.