refparse

package
v0.0.0-...-c160ba3 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("refparse: Referrer not found")

Functions

This section is empty.

Types

type Medium

type Medium struct {
	Type       string
	Name       string
	Parameters []string
}

type Referrer

type Referrer struct {
	Medium   string
	Referrer string
	URI      *url.URL
	Search   map[string]string
}

func Parse

func Parse(u string) (*Referrer, error)

Jump to

Keyboard shortcuts

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