Skip to content
/ lock Public

Simplified lock mechanism using Redis.

License

Notifications You must be signed in to change notification settings

Infumia/lock

Repository files navigation

lock

Maven Central Version

How to Use (Developers)

Gradle

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

fun main() {
}

About

Simplified lock mechanism using Redis.

Resources

License

Stars

Watchers

Forks

Releases

No releases published