doreuqest

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: MIT Imports: 3 Imported by: 0

README

Dorequest 搞定请求

介绍

支持发送Get请求

支持发送POST请求

支持发送其他方式请求

使用说明

参阅测试示例

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(url string) (string, error)

发起get请求

func Post

func Post(url string, params string) (string, error)

发起post请求

func Request

func Request(method, url, params string, username, password string) (string, error)

发起请求 可指定请求方式 可进行basic auth 验证

Types

This section is empty.

Jump to

Keyboard shortcuts

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