request

package
v0.0.0-...-f451f6a Latest Latest
Warning

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

Go to latest
Published: May 15, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

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