Discover Packages
github.com/AthenZ/athenz-client-sidecar/v2
router
package
Version:
v2.4.0
Opens a new window with list of versions in this module.
Published: Jan 11, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package router defines routes in Athenz client sidecar and their corresponding handling function.
It also wrap the handling function to accept expected HTTP methods only.
New returns Routed ServeMux
Route manages the routing for sidecar.
NewRoutes returns Route slice.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.