examples/

directory
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: MIT

Directories

Path Synopsis
Package simple is an application whose doors come from builder annotations: app api serves REST routes on two echo servers (rest and admin), a gRPC health service and the check_stock MCP tool; app worker records the orders of order.created events.
Package simple is an application whose doors come from builder annotations: app api serves REST routes on two echo servers (rest and admin), a gRPC health service and the check_stock MCP tool; app worker records the orders of order.created events.
cmd/api command
Command api runs app api: the doors builder generates in github.com/xgodev/boost/builder/examples/simple/gen/builder/api.
Command api runs app api: the doors builder generates in github.com/xgodev/boost/builder/examples/simple/gen/builder/api.
cmd/worker command
Command worker runs app worker: the doors builder generates in github.com/xgodev/boost/builder/examples/simple/gen/builder/worker.
Command worker runs app worker: the doors builder generates in github.com/xgodev/boost/builder/examples/simple/gen/builder/worker.
createorder
Package createorder serves the order routes of app api.
Package createorder serves the order routes of app api.
gen
healthcheck
Package healthcheck serves grpc.health.v1.Health on the grpc server of app api.
Package healthcheck serves grpc.health.v1.Health on the grpc server of app api.
order
Package order keeps the orders of the example in memory.
Package order keeps the orders of the example in memory.
ordercreated
Package ordercreated records the orders of order.created events in app worker.
Package ordercreated records the orders of order.created events in app worker.
probe
Package probe answers the liveness probe on the admin server of app api, apart from the public routes.
Package probe answers the liveness probe on the admin server of app api, apart from the public routes.
stock
Package stock tells whether an item can be ordered.
Package stock tells whether an item can be ordered.
stock/memory
Package memory keeps the stock in memory.
Package memory keeps the stock in memory.
stock/remote
Package remote asks a warehouse over HTTP for the stock.
Package remote asks a warehouse over HTTP for the stock.
stock/unlimited
Package unlimited is a stock without limits.
Package unlimited is a stock without limits.
stocktool
Package stocktool serves the stock tools of app api over MCP.
Package stocktool serves the stock tools of app api over MCP.

Jump to

Keyboard shortcuts

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