golazy.dev
–
golazy.dev
/
internal
/
actioncall
Index
|
Files
package actioncall
import "golazy.dev/internal/actioncall"
Types
type Options
type Options struct {
RoutePath string
}
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