I decided to check out what’s new in Nakama 3.8.0. I see that the change log mentions this:
Match handlers are now required to implement a signal handler function.
So, in to the docs to see what it’s about, as our server Go module now fails to compile due to a missing signal handler. But try as I might I can not find anything about the signal handlers in the docs. Actually, the docs don’t seem to mention match making with a single word, or am I just blind? I had expected there to be some docs for what it is and what I’m supposed to do. I can of course just blindly copy a
MatchSignal(ctx context.Context, logger Logger, db *sql.DB, nk NakamaModule, dispatcher MatchDispatcher, tick int64, state interface{}, data string) (interface{}, string)
into our custom Match
struct and return something random, but coding by random is not too much fun.
In general the server side docs seem to cover getting a module compiled, but that’s more or less it. The function reference is also mostly of little use in practice and is somewhat obsolete too. Have you thought about doing something Doxygen like to get automatically updated API docs?