examples/

directory
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2026 License: MIT

Directories

Path Synopsis
Auth hide+inject example: the canonical case the library is shaped around.
Auth hide+inject example: the canonical case the library is shaped around.
gat
server command
gat example server.
gat example server.
multi
cmd/gateway command
Gateway binary: serves GraphQL on :8080 and a control plane on :50090.
Gateway binary: serves GraphQL on :8080 and a control plane on :50090.
cmd/greeter command
Greeter service: starts a real gRPC server on :50051 and self-registers with the gateway's control plane.
Greeter service: starts a real gRPC server on :50051 and self-registers with the gateway's control plane.
cmd/hello-graphql command
hello-graphql: a tiny native GraphQL service self-registering with the gateway via the GraphQL stitching path.
hello-graphql: a tiny native GraphQL service self-registering with the gateway via the GraphQL stitching path.
cmd/hello-openapi command
hello-openapi: an HTTP/JSON service that exposes a single Hello operation, self-registers with the gateway via the OpenAPI control plane, and exists primarily so bench traffic openapi --direct has a format-native upstream to compare against.
hello-openapi: an HTTP/JSON service that exposes a single Hello operation, self-registers with the gateway via the OpenAPI control plane, and exists primarily so bench traffic openapi --direct has a format-native upstream to compare against.
cmd/hello-proto command
hello-proto: a tiny native gRPC service self-registering with the gateway via the proto control plane.
hello-proto: a tiny native gRPC service self-registering with the gateway via the proto control plane.
cmd/library command
Library service: real gRPC server on :50052, self-registers with the gateway.
Library service: real gRPC server on :50052, self-registers with the gateway.
cmd/mcp-demo command
Worked example for the gateway's MCP integration.
Worked example for the gateway's MCP integration.
Sign-as-API worked example.
Sign-as-API worked example.

Jump to

Keyboard shortcuts

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