Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultQueryKeys = []string{"id", "name", "order"}
DefaultQueryKeys provides the standard set of allowed query parameters.
Functions ¶
func FlattenFormData ¶
FlattenFormData converts URL-encoded form values into a flat map.
func HandleAPIResponse ¶
HandleAPIResponse decodes JSON or XML responses and falls back to plain text.
func IsJSONResponse ¶
IsJSONResponse reports whether the response contains JSON data.
func IsXMLResponse ¶
IsXMLResponse reports whether the response contains XML data.
func NewHTTPClient ¶
NewHTTPClient creates an HTTP client with isolated cookies and shared transport.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.