Documentation ¶
Index ¶
- func AddRequestBody(c *gin.Context, data string)
- func SetRequestContentType(c *gin.Context, contentType string)
- func SetRequestHeader(c *gin.Context, key, value string)
- func SetRequestHost(c *gin.Context, hostname string)
- func SetRequestMethod(c *gin.Context, method string)
- func SetRequestParams(c *gin.Context, value string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRequestBody ¶
AddRequestBody create a request body from a json string
func SetRequestContentType ¶
SetRequestContentType set the request content type
func SetRequestHeader ¶
SetRequestHeader set the request header
func SetRequestHost ¶
SetRequestHost set the request host
func SetRequestMethod ¶
SetRequestMethod set the request method
func SetRequestParams ¶
SetRequestParams set the request url
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.