func (r *Route) methodAllowed(m string) bool {
	return methods[m]&r.methods != 0
}
methodAllowed checks if Method is allowed on the route
package hasty
import "net/http"
type Route struct {
	Path           string
	methods        int
	methodHandlers map[string]*http.Handler
}
func NewRoute(url string) *Route {
	return &Route{Path: url, methodHandlers: make(map[string]*http.Handler)}
}
func (r *Route) setMethod(m string, handler *http.Handler) {
	r.methods |= methods[m]
	r.methodHandlers[m] = handler
}