This small project implements two endpoints that call each other endlessly.
The endpoint localhost:8888/ping
is implemented in Kotlin using the Ktor Framework.
localhost:9999/ping
is the endpoint implemented in Go which uses the standard lib.
⚠️ Your CPU might not be too happy about this ツ
Requirements: make
, java
, golang
- Clone/download the repository
- Open a terminal and run
make run-kotlin
- Open another terminal and run
make run-go
- To start the endless ping pong, you need to call one of the endpoints:
- go to to an endpoint using your browser
- OR open another terminal and run
curl localhost:8888/ping