greeter/

directory
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2024 License: MIT

README

Greeter example

Most simplest way to try this project example.

How to try

Build protoc to Go code, and start serivce and gateway:

make
go run service/main.go
go run gateway/main.go

Then services are listening:

  • service - localhost:50051
  • gateway - localhost:8888

Try to send GraphQL request:

curl -g "http://localhost:8888/graphql" -d '
{
  hello(name: "GraphQL Gateway") {
    message
  }
}'

Directories

Path Synopsis
Code generated by protoc-gen-graphql, DO NOT EDIT.
Code generated by protoc-gen-graphql, DO NOT EDIT.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL