modulepackage
0.0.0-20190603142225-a0fd07ebaeed
Repository: https://github.com/go-toschool/sicily.git
Documentation: pkg.go.dev
# README
Sicily
Gateway micro service to route graphql queries to GRPC services.
Graphql query
{
user(id: "user_id") {
email,
fullname
}
}
Request server with cURL
$ curl -X POST \
http://localhost:3000/users \
-H 'Content-Type: application/graphql' \
-d 'query {
user(id: "user_id") {
email,
fullname
}
}'
# Constants
AuthUserIDContextKey key for context.
ContentTypeGraphQL ...
UserIDKey ...
# Type aliases
StringValueKey ...