task

package
v0.0.0-...-c20d51c Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDefaultHeader

func SetDefaultHeader(header http.Header)

Types

type Task

type Task struct {
	URL    *url.URL
	Host   string
	Header http.Header

	// Mutex to protect map & data structures
	sync.Mutex
}

func NewTaskFromURL

func NewTaskFromURL(src *url.URL) *Task

func (*Task) Copy

func (t *Task) Copy() *Task

func (*Task) String

func (t *Task) String() string

Jump to

Keyboard shortcuts

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