github.com/zzfup/cin
master / published Jun 9, 2021 / repository
cin
类似go语言的gin框架
Installation
TODO: Write installation instructions here
Usage
require "cin"
r = Cin.default
def j(ctx)
{hello: "zhuzhenfeng"}
end
r.use(JsonHandler)
r.get("/json", ->j(Cin::Context))
r.run()
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/your-github-user/cin/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- zhuzhenfeng.code - creator and maintainer
API
- Cin
TODO Write documentation for
Cin