request

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close3xx added in v0.0.5

func Close3xx(c *http.Client, close bool) middler.RequestMiddler

close 为true 则关闭3xx跳转功能 close 为false 则不关闭3xx跳转功能

func GzipCompress

func GzipCompress(args ...interface{}) middler.RequestMiddler

func GzipDecompress added in v0.0.3

func GzipDecompress() middler.RequestMiddler

func ProgressBar added in v0.0.4

func ProgressBar(callback func(currBytes, totalBytes int)) middler.RequestMiddler

Types

type EnableGzipGreaterEqual added in v0.0.2

type EnableGzipGreaterEqual int

大于或等于EnableGzipMore 字节数的才压缩

Jump to

Keyboard shortcuts

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