List friend from go runtime

Is there a way to list the user’s friends from the go runtime? (besides of querying directly from “user_edge” table)
I implemented my own passive matchmaking (the entire logic is managed by the server), at the first step I want to search for a relevant opponent in the user’s friends list.
But the only way I found for listing friends is from the client.

Thanks.

@oshribin Please open a feature request on the server. We should add functions to make it easier to interact with the core server API for friends from the server runtime. Thanks for the suggestion. :+1:

1 Like