http

package module
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: OSL-3.0 Imports: 7 Imported by: 1

README

HTTP

https://curl.se/docs/manpage.html#OPTIONS

Progress is used in same function as net/http

Silent is used in same function as net/http

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Location

func Location() func()

func No_Location

func No_Location() func()

func Silent added in v1.1.8

func Silent() func()

func Trace

func Trace() func()

func Verbose

func Verbose() func()

Types

type Progress

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

curl.se/docs/manpage.html#--no-progress-meter

func Progress_Length added in v1.1.8

func Progress_Length(length int64) *Progress

func Progress_Parts added in v1.1.8

func Progress_Parts(length int) *Progress

func (*Progress) Reader

func (p *Progress) Reader(res *http.Response) io.Reader

complete-length

 last       parts.last
--------   -------------
 length     parts.length

func (*Progress) Write

func (p *Progress) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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