Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APISettings ¶
type APISettings struct {
// ContextPath is any URL-prefix being passed by a reverse proxy.
ContextPath string
}
APISettings holds http API specific parameters used to configure the web API
func (*APISettings) WrapPath ¶
func (api *APISettings) WrapPath(path string) string
WrapPath wraps a given URL string in the context path
Click to show internal directories.
Click to hide internal directories.