Skip to content

Valkey Module Example, help you to quick start.

Notifications You must be signed in to change notification settings

artikell/valkey-module-template

Repository files navigation

Valkey Module Template

It is mainly used to support the faster development of ValkeyModule.

You can expect from each sample:

  • Create a module
  • Create a Valkey command
  • Write specific test cases

Usage

  • git clone https://github.com/artikell/valkey-module-template
  • cd <any-sample-folder>
  • git submodule update --init --recursive
  • make & make test
  • Alternatively, running the sample

Getting Started

Create your own module through unified commands:

git clone https://github.com/artikell/valkey-module-template <new-module-name>
cd <new-module-name>
git submodule update --init --recursive
git remote set-url origin <your-repo-path>
python init-project.py <new-module-name>

Tests

The module includes a basic set of unit tests and integration tests.

Unit tests

To run all unit tests, follow these steps:

$ bash runtest.sh

About

Valkey Module Example, help you to quick start.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published