cloud-game/pkg
sergystepanov 431d215eee
Update server HTTPS configuration (#337)
* Merge HTTP and HTTPS routes builder in coordinator

* Extract HTTP/S routes

* Rename config in coordinator

* Generalize child services

* Extract games library helper function

* Use string address instead of port for HTTP/S

* Use a dedicated port extractor function

* Add missing GA tag templating

* Rename shared server address and port params

* Introduce TLS config parameters

* Simplify HTTP/S server constructors

* Update server auto port roll

* Extract init function in worker

* Reorder return params of address type port fn

* Refactor config handler names

* Update TLS default config params

* Extract HTTP to HTTPS redirect function

* Use httpx in monitoring

* Don't log echo requests

* Remove error return from the abstract server

* Add WSS option to the worker-coordinator connection

* Change default worker config

* Make worker send its internal connection params

* Decouple gamelib from the coordinator

* Expose HTTP/S listener address

* Keep original HTTP/S addresses

* Remove no config handler in worker

* Use HTTP-HTTPS redirection

* Wrap net.Listener into a struct

* Clean http server creation fn

* Redirect to https with a generated address

* Use URL in the redirector

* Use zone address param in worker

* Make use of actual addr and port in the monitoring servers

* Use auto-justified monitoring addresses info

* Add the non-HTTPS worker to HTTPS coordinator connection warning

* Embed TLS struct

* Move connection API struct into cws package
2021-08-09 10:42:06 +03:00
..
codec Reduce coordinator dependencies tree (#292) 2021-03-15 13:08:15 +03:00
config Update server HTTPS configuration (#337) 2021-08-09 10:42:06 +03:00
coordinator Update server HTTPS configuration (#337) 2021-08-09 10:42:06 +03:00
cws Update server HTTPS configuration (#337) 2021-08-09 10:42:06 +03:00
downloader Make executables ready for static linking (#307) 2021-04-06 18:16:52 +03:00
emulator Fix some mistakes 2021-04-14 11:37:43 +03:00
encoder Handle recover in VPX tests 2021-05-07 13:09:47 +03:00
environment Make executables ready for static linking (#307) 2021-04-06 18:16:52 +03:00
extractor Add new Libretro core manager module (#249) 2020-12-31 13:24:27 +03:00
games Update server HTTPS configuration (#337) 2021-08-09 10:42:06 +03:00
ice Reduce coordinator dependencies tree (#292) 2021-03-15 13:08:15 +03:00
lock Handle no config situation for workers (#253) 2021-01-03 21:23:55 +03:00
monitoring Update server HTTPS configuration (#337) 2021-08-09 10:42:06 +03:00
network Update server HTTPS configuration (#337) 2021-08-09 10:42:06 +03:00
os Update server HTTPS configuration (#337) 2021-08-09 10:42:06 +03:00
service Update server HTTPS configuration (#337) 2021-08-09 10:42:06 +03:00
session Reduce coordinator dependencies tree (#292) 2021-03-15 13:08:15 +03:00
thread Fix errors/misuse with OpenGL-based core API (#237) 2020-11-04 18:59:12 +08:00
util Refactor and update VPX codec (#285) 2021-02-27 18:09:55 +03:00
webrtc Remove old is_mobile init param 2021-07-31 12:33:25 +03:00
worker Update server HTTPS configuration (#337) 2021-08-09 10:42:06 +03:00