apisettings

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL