0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Translation into Simplified Chinese for Readme

This commit is contained in:
HariiHe 2022-07-25 02:47:50 -07:00 committed by GitHub
parent 137e86de7b
commit a7f0740d7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,38 +1,35 @@
= Cowboy = Cowboy
Cowboy is a small, fast and modern HTTP server for Erlang/OTP. Cowboy是一个基于Erlang/OTP的简易快速及现代的HTTP服务器.
== Goals == 目标
Cowboy aims to provide a *complete* HTTP stack in a *small* code base. Cowboy致力于用少量代码提供一个完整的HTTP堆栈.
It is optimized for *low latency* and *low memory usage*, in part 使用二进制字符串针对“低延迟”和“低内存使用率”进行了优化.
because it uses *binary strings*.
Cowboy provides *routing* capabilities, selectively dispatching requests Cowboy提供“路由”功能有选择地调度请求到用Erlang编写的处理程序.
to handlers written in Erlang.
Because it uses Ranch for managing connections, Cowboy can easily be 因为它使用Ranch来管理连接所以Cowboy可以很容易地嵌入到任何其他应用程序中.
*embedded* in any other application.
Cowboy is *clean* and *well tested* Erlang code. Cowboy是简介以及经过测试的Erlang代码.
== Online documentation == 在线文档
* https://ninenines.eu/docs/en/cowboy/2.6/guide[User guide] * https://ninenines.eu/docs/en/cowboy/2.6/guide[User guide]
* https://ninenines.eu/docs/en/cowboy/2.6/manual[Function reference] * https://ninenines.eu/docs/en/cowboy/2.6/manual[Function reference]
== Offline documentation == 离线文档
* While still online, run `make docs` * 在线时, 运行 `make docs`
* User guide available in `doc/` in PDF and HTML formats * PDF和HTML格式的用户指导在 `doc/`
* Function reference man pages available in `doc/man3/` and `doc/man7/` * Function参考手册页可在 `doc/man3/` and `doc/man7/`
* Run `make install-docs` to install man pages on your system * 运行 `make install-docs` 以在你的系统上安装主页
* Full documentation in Asciidoc available in `doc/src/` * Asciidoc中的完整文档可在 `doc/src/`
* Examples available in `examples/` * 示例在 `examples/`
== Getting help == 获取帮助
* Official IRC Channel: #ninenines on irc.freenode.net * 官方IRC频道: #ninenines on irc.freenode.net
* https://github.com/ninenines/cowboy/issues[Issues tracker] * https://github.com/ninenines/cowboy/issues[Issues tracker]
* https://ninenines.eu/services[Commercial Support] * https://ninenines.eu/services[Commercial Support]
* https://github.com/sponsors/essen[Sponsor me!] * https://github.com/sponsors/essen[Sponsor me!]