request

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetParseParam

func GetParseParam(param string) string

将get请求的参数进行转义

func HttpFunc

func HttpFunc(urlVal string, method enum.MethodType, contentType enum.ContentType, headers map[string]interface{}, postData string, formData map[string]string) ([]byte, error)

http请求

Types

type Glimit

type Glimit struct {
	Num int
	C   chan struct{}
}

func NewG

func NewG(num int) *Glimit

func (*Glimit) Run

func (g *Glimit) Run(f func())

Jump to

Keyboard shortcuts

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