urlx

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package urlx is a parser for accepting more server addresses including unix domain sockets during development. Eventually, we'll want to switch off of peg for better error messages. For now, it's quicker to iterate on the grammar using a peg parser.

Index

Constants

This section is empty.

Variables

View Source
var ErrParsing = errors.New("urlx: unable to parse")

Functions

func Parse

func Parse(input string) (*url.URL, error)

func Pretty added in v0.0.5

func Pretty(pretty bool) func(*parser) error

func Size added in v0.0.5

func Size(size int) func(*parser) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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