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

Source Files