Documentation
¶
Overview ¶
Command serve loads every *.manifest.json in the examples directory and serves the polyglot services on :8080 — Python (gpython) and TypeScript (goja) handlers running as goroutines inside one static Go binary.
go run ./examples/serve
curl -s localhost:8080/v1/hello-py/greet -d '{"name":"ada"}'
curl -s localhost:8080/v1/hello-ts/greet -d '{"name":"ada"}'
Click to show internal directories.
Click to hide internal directories.