Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/infumia/lock
Simplified lock mechanism using Redis.
https://github.com/infumia/lock
Last synced: 7 days ago
JSON representation
Simplified lock mechanism using Redis.
- Host: GitHub
- URL: https://github.com/infumia/lock
- Owner: Infumia
- License: mit
- Created: 2024-07-29T11:48:59.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-12-16T15:13:02.000Z (12 days ago)
- Last Synced: 2024-12-16T16:26:40.624Z (12 days ago)
- Language: Java
- Homepage:
- Size: 99.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lock
[![Maven Central Version](https://img.shields.io/maven-central/v/net.infumia/lock)](https://central.sonatype.com/artifact/net.infumia/lock)
## How to Use (Developers)
### Gradle
```groovy
repositories {
mavenCentral()
}dependencies {
// Base module
implementation "net.infumia:lock:VERSION"// Pub/Sub using Redis (Optional)
implementation "net.infumia:lock-redis:VERSION"
// Required, https://mvnrepository.com/artifact/io.lettuce/lettuce-core/
implementation "io.lettuce:lettuce-core:6.3.2.RELEASE"// Kotlin extensions (Optional)
implementation "net.infumia:lock-kotlin:VERSION"// Kotlin coroutines (Optional)
implementation "net.infumia:lock-kotlin-coroutines:VERSION"
// Required, https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core/
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1"
}
```
### Code
```kotlin
fun main() {
}
```