Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HREF ¶
type HREF struct {
// contains filtered or unexported fields
}
func (HREF) PercentEncodedString ¶
Returns the normalized string representation for this HREF, encoded for URL uses.
func (HREF) QueryParameters ¶
Returns the query parameters present in this HREF, in the order they appear.
type QueryParameter ¶
type QueryParameter struct {
// contains filtered or unexported fields
}
type URITemplate ¶
type URITemplate struct {
// contains filtered or unexported fields
}
func NewURITemplate ¶
func NewURITemplate(uri string) URITemplate
func (URITemplate) Description ¶
func (u URITemplate) Description() string
func (URITemplate) Expand ¶
func (u URITemplate) Expand(parameters map[string]string) string
Expands the HREF by replacing URI template variables by the given parameters.
func (URITemplate) Parameters ¶
func (u URITemplate) Parameters() []string
List of URI template parameter keys.
Click to show internal directories.
Click to hide internal directories.