Skip to content

Instantly share code, notes, and snippets.

@kristoff-it
Created January 10, 2019 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kristoff-it/2b4645cae071067c41467d74862c63c0 to your computer and use it in GitHub Desktop.
Save kristoff-it/2b4645cae071067c41467d74862c63c0 to your computer and use it in GitHub Desktop.
export fn HelloWorld_Command(ctx: ?*redis.RedisModuleCtx, argv: ?[*]?*redis.RedisModuleString, argc: c_int) c_int {
_ = redis.RedisModule_ReplyWithSimpleString.?(ctx, c"Hello World!");
return redis.REDISMODULE_OK;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment