Skip to content

Commit

Permalink
1.2.3版本, 代码优化
Browse files Browse the repository at this point in the history
  • Loading branch information
naivetoby committed Jun 25, 2020
1 parent 58749a6 commit 5d899d6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 18 deletions.
39 changes: 22 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,35 @@

非常轻量级的 RPC 调用框架,基于 RabbitMQ 消息队列,使用 Spring-Boot 开发。

## Spring-Boot Dependency
## Spring-Boot && Simple-RPC Dependency

```xml
<dependencyManagement>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.1.RELEASE</version>
</parent>

<groupId>com.demo</groupId>
<artifactId>demo</artifactId>
<version>1.0.0.RELEASE</version>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.3.1.RELEASE</version>
<type>pom</type>
<scope>import</scope>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>vip.toby.rpc</groupId>
<artifactId>simple-rpc</artifactId>
<version>1.2.3.RELEASE</version>
</dependency>
</dependencies>
</dependencyManagement>
```

## Simple-RPC Dependency

```xml
<dependency>
<groupId>vip.toby.rpc</groupId>
<artifactId>simple-rpc</artifactId>
<version>1.2.2.RELEASE</version>
</dependency>
</project>
```

## RpcServer Demo
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>vip.toby.rpc</groupId>
<artifactId>simple-rpc</artifactId>
<version>1.2.2.RELEASE</version>
<version>1.2.3.RELEASE</version>

<packaging>jar</packaging>
<name>simple-rpc</name>
Expand Down

0 comments on commit 5d899d6

Please sign in to comment.