Documentation
¶
Overview ¶
Package providerhttp owns the JSON exchange shared by the web providers, so transport, status, and decoding failures have one definition.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(request *resty.Request, method string, path string, result any) (*resty.Response, error)
resty skips decoding, without reporting an error, for a 204 response or a non-JSON Content-Type. Forcing the media type and requiring a body turns those responses into failures instead of empty provider results.
Types ¶
Click to show internal directories.
Click to hide internal directories.