golazy.dev golazy.dev / lazyroutes / actioncall Index | Files

package actioncall

import "golazy.dev/lazyroutes/actioncall"

Types

type Plan

type Plan struct {
	// contains filtered or unexported fields
}
func Compile
func Compile(controllerType reflect.Type, action reflect.Value, opts Options) (*Plan, error)
func (p *Plan) Call
func (p *Plan) Call(controller reflect.Value, w http.ResponseWriter, r *http.Request) error