Documentation ¶
Overview ¶
Package url provides a mockable wrapper for net/url.
Index ¶
- type Impl
- func (*Impl) Parse(rawURL string) (*url.URL, error)
- func (*Impl) ParseQuery(query string) (url.Values, error)
- func (*Impl) ParseRequestURI(rawURL string) (*url.URL, error)
- func (*Impl) PathEscape(s string) string
- func (*Impl) PathUnescape(s string) (string, error)
- func (*Impl) QueryEscape(s string) string
- func (*Impl) QueryUnescape(s string) (string, error)
- func (*Impl) User(username string) *url.Userinfo
- func (*Impl) UserPassword(username string, password string) *url.Userinfo
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Parse(rawURL string) (*url.URL, error) ParseQuery(query string) (url.Values, error) ParseRequestURI(rawURL string) (*url.URL, error) PathEscape(s string) string PathUnescape(s string) (string, error) QueryEscape(s string) string QueryUnescape(s string) (string, error) User(username string) *url.Userinfo UserPassword(username string, password string) *url.Userinfo }
Click to show internal directories.
Click to hide internal directories.