httpx

package
v0.0.0-...-6d4b899 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package httpx Date: 2023/4/6 10:28 Author: Amu Description:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResponseWrapper

type ResponseWrapper struct {
	StatusCode int
	Body       string
	Header     http.Header
}

func Get

func Get(url string, params *string, timeout int) ResponseWrapper

func PostJson

func PostJson(url string, params *string, timeout int) ResponseWrapper

PostJson post json

func PostParams

func PostParams(url string, params *string, timeout int) ResponseWrapper

PostParams post form data

Jump to

Keyboard shortcuts

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