package
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: Jan 8, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Router module.
A set of functions to access the routing properties of the request.
Holds this module's functions. Accessible as `kong.Router`
func New(ch chan interface{}) Router
Called by the plugin server at initialization.
kong.Router.GetRoute() returns the current route entity.
The request was matched against this route.
kong.Router.GetService() returns the current service entity.
The request will be targetted to this upstream service.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.