request

package
v0.0.0-...-0fd1316 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRequestBody

func AddRequestBody(c *gin.Context, data string)

AddRequestBody create a request body from a json string

func SetRequestContentType

func SetRequestContentType(c *gin.Context, contentType string)

SetRequestContentType set the request content type

func SetRequestHeader

func SetRequestHeader(c *gin.Context, key, value string)

SetRequestHeader set the request header

func SetRequestHost

func SetRequestHost(c *gin.Context, hostname string)

SetRequestHost set the request host

func SetRequestMethod

func SetRequestMethod(c *gin.Context, method string)

SetRequestMethod set the request method

func SetRequestParams

func SetRequestParams(c *gin.Context, value string)

SetRequestParams set the request url

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL