Documentation ¶
Index ¶
- func GetSettingsDir() string
- func GetTmpDir() string
- func IsNil(i interface{}) bool
- func NormalizeRequest(rawReq string) string
- func RequestToString(r *http.Request) string
- func RequestsEquals(r1 *http.Request, r2 *http.Request) bool
- func ResponseToString(r *http.Response, responseBodyBytes bool) string
- func ResponsesEquals(r1 *http.Response, r2 *http.Response) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSettingsDir ¶
func GetSettingsDir() string
GetSettingsDir returns the path to the settings folder
func NormalizeRequest ¶
NormalizeRequest adds missing headers to a request
func RequestToString ¶
RequestToString returns a string representation of a given HTTP request
func RequestsEquals ¶
RequestsEquals returns if two requests are equal
func ResponseToString ¶
ResponseToString returns a string representation of a given HTTP response
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.