//
pkg.gl
Category
github.com/jake-hansen/agora
router
package
0.7.0
Repository:
https://github.com/jake-hansen/agora.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
1
Files
82 SLOC
#
Packages
handlers
No description provided by the author
#
Functions
Cfg
Cfg provides a new Config using values from a Viper and contains the given middleware and handlers.
CfgTest
CfgTest provides the passed Config.
New
New returns a new instance of Router configured with the given Config.
Provide
Provide provides a new Router using the given Config.
#
Variables
ProviderProductionSet
ProviderProductionSet provides a new Router for use in production.
ProviderTestSet
ProviderTestSet provides a new Router for use in testing.
#
Structs
Config
Config contains the parameters for configuring a Router.
Router
Router contains the engine and Config for routing requests.