requestx

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

* @Author: hugo2lee * @Date: 2024-10-30 18:04 * @LastEditors: hugo2lee * @LastEditTime: 2025-01-15 15:03 * @FilePath: \gotox\requestx\request.go * @Description: * * Copyright (c) 2025 by hugo, All Rights Reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Requestx

type Requestx struct {
	*resty.Client
}

func NewRequestx

func NewRequestx() *Requestx

func (*Requestx) Get

func (r *Requestx) Get(url string) (*resty.Response, error)

func (*Requestx) Post

func (r *Requestx) Post(url string, body any) (*resty.Response, error)

Jump to

Keyboard shortcuts

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