package
Version:
v0.0.0-...-c490ea4
Opens a new window with list of versions in this module.
Published: Nov 18, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package mapper contains code which will convert an incoming URL
request path into a URL to redirect the client to.
Mapper implements the lookup logic. It supports a limited form of
path-segment and query-parameter mapping.
New constructs an empty Mapper.
Get resolves an incoming request URL to a short link to redirect the
caller to.
SetLinks updates the internal state of the Mapper with a new
collection of short links. This method does not require external
synchronization.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.