task

package
v0.0.0-...-b323cf4 Latest Latest
Warning

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

Go to latest
Published: May 28, 2021 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