fetcher

package
v0.0.0-...-45ebc0f Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidPHPSESSID = errors.New("authenticate could not fetch phpsessid")
	ErrInvalidRESDATA   = errors.New("authenticate could not fetch resdata")
)

Functions

func NewFetcher

func NewFetcher(subdomain string, refreshInterval time.Duration, username, password string) chan []Parcel

Types

type Parcel

type Parcel struct {
	Code          string
	Collected     bool
	CollectedBy   string
	CollectedDate time.Time
	DeliveredDate time.Time
}

Jump to

Keyboard shortcuts

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