Skip to content

Commit ec1dd41

Browse files
authored
Add badges to the README.md file (#2939)
1 parent 666b4d7 commit ec1dd41

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
===============================
33

44
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.lettuce/lettuce-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.lettuce/lettuce-core)
5+
[![Javadocs](https://www.javadoc.io/badge/io.lettuce/lettuce-core.svg)](https://www.javadoc.io/doc/io.lettuce/lettuce-core)
6+
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.txt)
7+
[![Integration](https://github.com/redis/lettuce/actions/workflows/integration.yml/badge.svg?branch=main)](https://github.com/redis/lettuce/actions/workflows/integration.yml)
8+
[![codecov](https://codecov.io/gh/redis/lettuce/branch/main/graph/badge.svg?token=pAstxAAjYo)](https://codecov.io/gh/redis/lettuce)
9+
[![Discord](https://img.shields.io/discord/697882427875393627?style=flat-square)](https://discord.gg/redis)
510

611
Lettuce is a scalable thread-safe Redis client for synchronous,
712
asynchronous and reactive usage. Multiple threads may share one connection if they avoid blocking and transactional
@@ -117,8 +122,8 @@ Asynchronous API
117122
```java
118123
StatefulRedisConnection<String, String> connection = client.connect();
119124
RedisStringAsyncCommands<String, String> async = connection.async();
120-
RedisFuture<String> set = async.set("key", "value")
121-
RedisFuture<String> get = async.get("key")
125+
RedisFuture<String> set = async.set("key", "value");
126+
RedisFuture<String> get = async.get("key");
122127

123128
LettuceFutures.awaitAll(set, get) == true
124129

@@ -150,7 +155,7 @@ Pub/Sub
150155
```java
151156
RedisPubSubCommands<String, String> connection = client.connectPubSub().sync();
152157
connection.getStatefulConnection().addListener(new RedisPubSubListener<String, String>() { ... })
153-
connection.subscribe("channel")
158+
connection.subscribe("channel");
154159
```
155160

156161
Building
@@ -177,7 +182,7 @@ $ make test
177182
Bugs and Feedback
178183
-----------
179184

180-
For bugs, questions and discussions please use the [GitHub Issues](https://github.com/lettuce-io/lettuce-core/issues).
185+
For bugs, questions and discussions please use the [GitHub Issues](https://github.com/redis/lettuce/issues).
181186

182187
License
183188
-------

0 commit comments

Comments
 (0)