Documentation ¶
Index ¶
- Variables
- func IsTime(stringDate string) bool
- func ParseHTTPRequest(requestBytes []byte) (*http.Request, error)
- func ParseHTTPResponse(data []byte, request *http.Request) (*http.Response, error)
- func SimulateHttp(tc models.TestCase, logger *zap.Logger, getResp func() *models.HttpResp) (*models.HttpResp, error)
- func ToHttpHeader(mockHeader map[string]string) http.Header
- func ToYamlHttpHeader(httpHeader http.Header) map[string]string
- func UrlParams(r *http.Request) map[string]string
Constants ¶
This section is empty.
Variables ¶
View Source
var Emoji = "\U0001F430" + " Keploy:"
Functions ¶
func IsTime ¶ added in v0.7.4
IsTime verifies whether a given string represents a valid date or not.
func ParseHTTPResponse ¶
func SimulateHttp ¶
func ToYamlHttpHeader ¶
ToYamlHttpHeader converts the http header into yaml format
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.