Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
luxiaoxun authored Jan 23, 2018
1 parent 8c78682 commit ecdb88b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ An RPC framework based on Netty, ZooKeeper and Spring

@RpcService(HelloService.class)
public class HelloServiceImpl implements HelloService {
public HelloServiceImpl(){}
@Override
public String hello(String name) {
return "Hello! " + name;
Expand All @@ -33,9 +35,13 @@ An RPC framework based on Netty, ZooKeeper and Spring

3. Run zookeeper

For example: zookeeper is running on 127.0.0.1:2181

4. Start server:

RpcBootstrap
Start server with spring: RpcBootstrap

Start srever without spring: RpcBootstrapWithoutSpring

5. Use the client:

Expand Down

0 comments on commit ecdb88b

Please sign in to comment.