netloc

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Netloc

type Netloc struct {
	Host   string `json:"host"`
	Port   string `json:"port"`
	Scheme string `json:"scheme"`
}

Netloc TODO

func New

func New(host, port, scheme string) *Netloc

New TODO

func (*Netloc) Equal

func (netloc *Netloc) Equal(o *Netloc) bool

Equal TODO

func (*Netloc) String

func (netloc *Netloc) String() string

type ParsedURL

type ParsedURL struct {
	*url.URL
	Host string
	Port string
}

ParsedURL TODO

func ParseURL

func ParseURL(rawURL string) (parsedURL *ParsedURL, err error)

ParseURL TODO

Jump to

Keyboard shortcuts

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