Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalBodyIfJSON ¶ added in v1.1.2
MarshalBodyIfJSON converts body to JSON string when Content-Type is application/json Supports map[string]any and []any body types
func ResolveMethodAndURL ¶ added in v0.20.0
ResolveMethodAndURL resolves HTTP method fields and updates the data map Converts method fields like "get", "post" to "method" and "url" fields
Types ¶
type Req ¶
type TransportOptions ¶
Click to show internal directories.
Click to hide internal directories.