go install -v github.com/douyu/jupiter/cmd/jupiter@latest
jupiter new testproject-go
cd testproject-go
go mod tidy -v
kubectl apply -f https://github.com/douyu/juno/releases/download/latest/install.yml
make init
make generate
- Run exampleserver through Makefile
make run
- Run and watch file changes to rebuild
jupiter run -c cmd/exampleserver/.jupiter.toml
- Run and watch file changes to rebuild through docker-compose
docker-compose up
- Run only
go run ./cmd/exampleserver --config config/exampleserver/local-live.toml
- HTTP
curl "http://localhost:9527/v1/helloworld.Greeter/SayHello/bob"
{"error":0,"msg":"","data":{"name":"hello bob","ageNumber":0,"sex":0,"metadata":null}}
- GRPC
buf curl --schema api --protocol grpc --http2-prior-knowledge --data '{"name":"bob"}' http://localhost:9528/helloworld.v1.GreeterService/SayHello
{"data":{"name":"hello bob"}}
open http://localhost:16686/search to checkout opentelemtry trace data.
For bug report, questions and discussions please submit an issue.
Contributions are always welcomed!
You can start with the issues labeled with good first issue.