Wheel of Fortune
Spin the Wheel of Fortune to win a price.
http://localhost:8080/wheel-of-fortune
This example shows the union feature as described here: ../service-interfaces/value-objects#union-types
Go service
Service interface defintion
https://github.com/foomo/gotsrpc-playground/blob/main/server/services/wof/service.go
Service implementation
https://github.com/foomo/gotsrpc-playground/blob/main/server/server/wof.go
Next.js TypeScript client
https://github.com/foomo/gotsrpc-playground/blob/main/client/pages/wheel-of-fortune.tsx