//
pkg.gl
Category
github.com/albertwidi/go-project-example
internal
pkg
router
package
0.0.0-20200416044943-d22e7c36ff52
Repository:
https://github.com/albertwidi/go-project-example.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
2
Files
202 SLOC
#
README
Router
Is a wrapper for Gorilla mux
#
Functions
New
New router.
NewChainedMiddleware
NewChainedMiddleware function.
#
Structs
ChainedMiddlewares
ChainedMiddlewares type.
Options
Options of router.
Router
Router struct.
#
Type aliases
HandlerFunc
HandlerFunc to handle http request.
MiddlewareFunc
MiddlewareFunc to handle middleware chaining.