func (m *Middleware) POST(path string, handler Handler) {
	m.engine.POST(path, m.apply(handler))
}
POST registers a route for method POST.
package goweb
import (
	"fmt"
	"net/http"
)
type Middleware struct {
	chain  []Handler
	engine *Engine
}
func (m *Middleware) apply(handler Handler) Handler {
	return func(c *Context) Responder {
		for _, mw := range m.chain {
			if res := mw(c); res != nil {
				return res
			}
		}
		return handler(c)
	}
}
func (m *Middleware) Middleware(middleware ...Handler) *Middleware {
	return &Middleware{
		chain:  append(m.chain, middleware...),
		engine: m.engine,
	}
}
func (m *Middleware) GET(path string, handler Handler) {
	m.engine.GET(path, m.apply(handler))
}
func (m *Middleware) PUT(path string, handler Handler) {
	m.engine.PUT(path, m.apply(handler))
}