没有合适的资源?快使用搜索试试~ 我知道了~
cowboy_compiled_router:为牛仔编译的路由器
共10个文件
erl:4个
makefile:1个
src:1个
需积分: 10 0 下载量 76 浏览量
2021-07-02
23:20:23
上传
评论
收藏 16KB ZIP 举报
温馨提示
cowboy_compiled_router 为牛仔编译的路由器 例子 使用 parse_transform 创建一个模块: - module ( my_router ). - compile ({ parse_transform , cowboy_compiled_router }). - get ({ " / " , root_handler }). - get ({ " /about-us " , about_us_handler }). - host ( " example.com " ). - post ({ " / " , root_create_handler }). - get ({ " /users " , users_handler , [{ users , [<< " joe " >>, << " mike " >>, << " robert " >>]}
资源推荐
资源详情
资源评论
收起资源包目录
cowboy_compiled_router-master.zip (10个子文件)
cowboy_compiled_router-master
priv
template.erl 2KB
test
cowboy_compiled_router_test.erl 4KB
LICENSE 1KB
src
cowboy_compiled_router.erl 9KB
cowboy_compiled_router.app.src 249B
cowboy_compiled_router_parser.erl 5KB
erlang.mk 22KB
.gitignore 112B
Makefile 506B
README.md 801B
共 10 条
- 1
资源评论
LiuTitanium
- 粉丝: 23
- 资源: 4684
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功