urls

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2016 License: Apache-2.0 Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder url.URL

Builder represents a URL under construction

func (Builder) With

func (b Builder) With(options ...Option) Builder

With configures a net.URL via a Builder wrapper, returns the modified result

type Option

type Option func(*Builder)

Option is a functional type that configures a URL

func Host

func Host(host string) Option

Host returns an Option to configure a Builder.Host

func Path

func Path(path string) Option

Path returns an Option to configure a Builder.Path

func Scheme

func Scheme(scheme string) Option

Scheme returns an Option to configure a Builder.Scheme

Jump to

Keyboard shortcuts

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