requests

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Requests

type Requests struct {
	RequestIP     string          `json:"request_ip"`
	RequestMethod string          `json:"request_method"`
	RequestPath   string          `json:"request_path"`
	RequestQuery  *datatypes.JSON `json:"request_query"`
	RequestBody   *datatypes.JSON `json:"request_body"`
	RequestHeader *http.Header    `json:"request_header"`
}

func NewRequests

func NewRequests(c *gin.Context) *Requests

func (*Requests) GetBody

func (r *Requests) GetBody() string

func (*Requests) GetMethod

func (r *Requests) GetMethod() string

func (*Requests) GetPath

func (r *Requests) GetPath() string

func (*Requests) GetQuery

func (r *Requests) GetQuery() string

Jump to

Keyboard shortcuts

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