vox icon indicating copy to clipboard operation
vox copied to clipboard

Simple and lightweight Go web framework inspired by koa

Results 8 vox issues
Sort by recently updated
recently updated
newest added

currently we could only apply global middlewares, in complicated applications, we might need to apply middlewares for different business, assume there are routes (`/foo` and '/bar') and middlewares (`foo` and...

enhancement

like `/xxx/{age:int32}` .

enhancement

We need a api like `vox.Response#Render(templateName string, templateData interface{} )`, than can render HTML templates, and users can register their template engines line `html/template` or mustache or handlebars or some...

enhancement

It should parse the request body with it's content type in the header. And users can let it parse body to an map / slice / custom structs.

It's cool to have a builtin cookie based session middleware, for quick start for new project. Maybe flask's implementation is a good example.