Extending nakama source code

Hi there!

I’m trying to integrate Redis in our custom version of nakama, but I realized the lua client probably won’t work because it has some dependencies with luasockets and since nakama is using a custom version of lua (gopher-lua) I’ll have to use gluasocket.

My question is. How do I add new gopher-lua modules?
And do you think guys integrate Redis with nakama is possible or I’m just wasting time?

Thanks in advance.

Hi @danim. You wouldn’t be able to integrate Redis with Lua. Although you may be able to do it through a Go module as a custom plugin to Nakama. I must say that this is non-trivial though.

Nakama has various built-in caches for different APIs. I’m wondering why do you need Redis at all?