Closed codekidX closed 4 years ago
The changes done to 0.2 version is huge:
UseHandler
UseHandlerFunc
UseIntermHandler
HookContext
rubik.Request
func someCtl(req *rubik.Request) { req.Respond("Hello") }
Success
Failure
*req.Respond
*req.Throw
Entity
rubik.Controller
The changes done to 0.2 version is huge:
UseHandler
,UseHandlerFunc
,UseIntermHandler
HookContext
is separate fromrubik.Request
Success
andFailure
methods are now*req.Respond
and*req.Throw
Entity
for modifications in Middlewaresrubik.Controller
too