aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/api0/client.go
AgeCommit message (Collapse)Author
2022-10-21all: pg9182 -> r2northstarpg9182
2022-10-21pkg/api/api0: Add CORS headers to /client/serverspg9182
2022-10-19pkg/api/api0: Add metricspg9182
2022-10-15pkg/api/api0: Rework error responsespg9182
* NorthstarLauncher expects the error field to be an object with enum and msg fields as strings, and often crashes if this isn't the case. * Shorter code, less duplication.
2022-10-15pkg/api/api0{,/api0gameserver}: Refactor game server auth requestspg9182
2022-10-15pkg/api/api0: Clean up old commentspg9182
2022-10-15pkg/api/api0: Implement /client/auth_with_serverpg9182
2022-10-15pkg/api/api0: Simplify error handling for /client/auth_with_selfpg9182
The player token is already validated later if necessary.
2022-10-15pkg/api/api0: Cache gzipped /client/servers toopg9182
Significantly improves performance.
2022-10-15pkg/api/api0: Implement /client/serverspg9182
And it's _fast_, even with thousands of servers and hundreds of requests per second.
2022-10-14pkg/api/api0: Set last server id in /client/auth_with_selfpg9182
2022-10-14pkg/api/api0: Fix resp json id type for /client/auth_with_selfpg9182
2022-10-14pkg/api/api0: Implement /client/origin_authpg9182
2022-10-13pkg/api/api0: Implement version gatepg9182
2022-10-13pkg/api/api0: Implement /client/auth_with_selfpg9182
2022-10-13pkg/api/api0: Implement /client/mainmenupromospg9182
Also support varying it so things like version-specific messages can be shown.