Documentation
¶
Index ¶
- func ConvertBodyToJson(data map[string]string) error
- func ConvertNumericStrings(data map[string]any) map[string]any
- func HeaderToStringValue(data map[string]any) map[string]any
- func Request(data map[string]string, opts ...Option) (map[string]string, error)
- type Callback
- type Option
- type Req
- type Res
- type Result
- type TransportOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertBodyToJson ¶ added in v0.11.0
ConvertBodyToJson converts flat body data to properly nested JSON structure
func ConvertNumericStrings ¶ added in v0.11.0
ConvertNumericStrings recursively converts numeric strings to numbers in nested structures
Types ¶
type Req ¶
type TransportOptions ¶
Click to show internal directories.
Click to hide internal directories.