Age | Commit message (Collapse) | Author |
|
And it's _fast_, even with thousands of servers and hundreds of
requests per second.
|
|
* Efficient /client/servers JSON generation and caching.
* Safe for concurrent usage.
* Garbage collection model.
* Simpler ghost server logic than old master server.
* Reliable ID generation and server updates.
* Ensures uniqueness by ID, Addr+GamePort, and Addr+AuthPort, even
when reviving ghost servers.
|
|
|
|
|
|
Although the filename is file.pdata.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Makes it nicer to use with tools like curl.
|
|
|
|
|
|
|
|
|
|
Also support varying it so things like version-specific messages can
be shown.
|
|
|
|
|
|
|
|
|
|
|
|
/player/ endpoints fall through.
|
|
|
|
* POST /accounts/write_persistence?id&serverId multipart(file.pdata)
* GET /accounts/get_username?uid
* GET /accounts/lookup_uid?username
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
R2Northstar/NorthstarMasterServer@b45ff0ef267712e8bff6cd718bb5dc1afcdec420
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Backwards-compatbile with old master server:
* NaN/Inf floats are encoded as null.
* Enums are encoded as the value name, or the number if unrecognized.
* Names are the same as the pdef.
* Exception: Strings don't include bytes after the null terminator.
* Also supports filtering fields.
* Decoding is not supported for now.
|
|
|