Documentation ¶
Overview ¶
Package uri is an implementation of the URI Uniform Resource Identifier(RFC3986) specification for Go.
Index ¶
Constants ¶
View Source
const ( // FileScheme schema of filesystem path. FileScheme = "file" // HTTPScheme schema of http. HTTPScheme = "http" // HTTPSScheme schema of https. HTTPSScheme = "https" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type URI ¶
type URI string
URI Uniform Resource Identifier (URI) https://tools.ietf.org/html/rfc3986.
This class is a simple parser which creates the basic component parts (http://tools.ietf.org/html/rfc3986#section-3) with minimal validation and encoding.
foo://example.com:8042/over/there?name=ferret#nose \_/ \______________/\_________/ \_________/ \__/ | | | | | scheme authority path query fragment | _____________________|__ / \ / \ urn:example:animal:ferret:nose
Click to show internal directories.
Click to hide internal directories.