// HandlerFor gets a http.Handler for the provided operation method and path
HandlerFor gets a http.Handler for the provided operation method and path
// HandlerFor gets a http . Handler for the provided operation method and path
func (o *WorkflowManagerAPI) HandlerFor(method, path string) (http.Handler, bool) {
	if o.handlers == nil {
		return nil, false
	}
	um := strings.ToUpper(method)
	if _, ok := o.handlers[um]; !ok {
		return nil, false
	}
	h, ok := o.handlers[um][path]
	return h, ok
}
func ( o * WorkflowManagerAPI ) HandlerFor ( method , path string ) ( http . Handler , bool ) { if o . handlers == nil { return nil , false } um := strings . ToUpper ( method ) if _ , ok := o . handlers [ um ] ; ! ok { return nil , false } h , ok := o . handlers [ um ] [ path ] return h , ok }
HandlerFor gets a http.Handler for the provided operation method and path
HandlerFor gets a http . Handler for the provided operation method and path