Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenFormArgs ¶
func GenQueryString ¶
func RandStringImpr ¶
func RandomString ¶
Types ¶
type RequestOption ¶
type RequestOption struct { Url string Method string ReqDto interface{} Headers map[string]string ContentType ContentType }
type ResponseData ¶
type ResponseData struct { Body []byte Header *fasthttp.ResponseHeader StatusCode int }
func SendRequest ¶
func SendRequest(option *RequestOption) (*ResponseData, error)
Click to show internal directories.
Click to hide internal directories.