middleware/router.go
func (r *Router) Middleware(ctx *neptulon.ReqCtx) error {
	if handler, ok := r.routes[ctx.Method]; ok {
		return handler(ctx)
	}

	return ctx.Next()
}
func (r *Router) Middleware(ctx *neptulon.ReqCtx) error {
	if handler, ok := r.routes[ctx.Method]; ok {
		return handler(ctx)
	}

	return ctx.Next()
}
func ( r * Router ) Middleware ( ctx * neptulon . ReqCtx ) error { if handler , ok := r . routes [ ctx . Method ] ; ok { return handler ( ctx ) } return ctx . Next ( ) }
// Middleware is the Neptulon middleware method.
Middleware is the Neptulon middleware method .