http

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: MulanPSL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DoudianOpHttpClient

type DoudianOpHttpClient struct {
	// contains filtered or unexported fields
}

func GetHttpClient

func GetHttpClient(timeout int64) *DoudianOpHttpClient

func (*DoudianOpHttpClient) Post

type DoudianOpHttpRequest

type DoudianOpHttpRequest struct {
	Url     string
	Params  map[string]string
	Headers map[string]string
	Body    string
}

type DoudianOpHttpResponse

type DoudianOpHttpResponse struct {
	Body string
}

Jump to

Keyboard shortcuts

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