An open API service indexing awesome lists of open source software.

https://github.com/whilein/wredis

Lightweight and fast redis client for java
https://github.com/whilein/wredis

Last synced: 6 months ago
JSON representation

Lightweight and fast redis client for java

Awesome Lists containing this project

README

          

# wredis













## Использование

```java
public class Main {
public static void main(final String[] args) {
Redis redis = new Redis(new Redis.Config.Builder(new InetSocketAddress(host, port))
.auth(username, password)
.connectTimeout(1, TimeUnit.SECONDS)
.build());

redis.command("PING").flushAndRead();

boolean pong = "PONG".equals(redis.nextString());
}
}
```

## Добавить в свой проект





### Maven

```xml


io.github.whilein
wredis
0.1.12

```

### Gradle

```groovy
dependencies {
implementation 'io.github.whilein:wredis:0.1.12'
}
```