cancel

package
v0.0.0-...-9ff6e62 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelableDownload

func CancelableDownload(c *Canceler, client *http.Client, req *http.Request) (*http.Response, error, chan bool)

Types

type Canceler

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

A struct to track canceleation

func (*Canceler) Cancel

func (c *Canceler) Cancel() error

func (*Canceler) Cancelable

func (c *Canceler) Cancelable() bool

Jump to

Keyboard shortcuts

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