http

package
v0.3.26 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultTransport

func NewDefaultTransport() *http.Transport

创建并返回一个 http.DefaultTransport 对象副本。

出参:

func ParseHeaders

func ParseHeaders(headers string) (http.Header, error)

从表示 HTTP 标头的字符串解析并返回一个 http.Header 对象。

入参:

  • headers: 表示 HTTP 标头的字符串。

出参:

  • header: http.Header 对象。
  • err: 错误。

Types

This section is empty.

Jump to

Keyboard shortcuts

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