package
Version:
v0.0.0-...-6b5bc6d
Opens a new window with list of versions in this module.
Published: Jul 25, 2017
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Router struct {
Rules []Rule
}
Router contains a set of redirections
New initialises a new router
Match tries to find a matching redirection for the URL req
Source Files
¶
Click to show internal directories.
Click to hide internal directories.