Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
yedf committed Jun 18, 2015
1 parent 3343cfd commit 1ffa607
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ default: $(TARGETS)
handy_examples: $(EXAMPLES)
$(EXAMPLES): $(LIBRARY)

install: libhandy.a
mkdir -p $(PREFIX)/usr/local/include/handy
cp -f handy/*.h $(PREFIX)/usr/local/include/handy
cp -f libhandy.a $(PREFIX)/usr/local/lib

uninstall:
rm -rf $(PREFIX)/usr/local/include/handy $(PREFIX)/usr/local/lib/libhandy.a
clean:
-rm -f $(TARGETS)
-rm -f */*.o
Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ MacOSX上使用kqueue

10行代码能够编写一个完整的服务器

###支持半同步半异步处理

异步管理网络I/O,同步处理请求,可以简化服务器处理逻辑的编写,示例参见examples/hsha.cc

###代码示例--echo-server

```c
Expand All @@ -58,6 +62,20 @@ int main(int argc, const char* argv[]) {
}
```
###安装与使用
```
make && make install
```
###目录结构
handy handy库
examples 示例
ssl openssl相关的代码与示例
protobuf handy使用protobuf的示例
test handy相关的测试
license
====
Use of this source code is governed by a BSD-style
Expand Down

0 comments on commit 1ffa607

Please sign in to comment.