echo.proto is the service definition for echo-service. Try generating it with:
echo.proto
echo-service
truss echo.proto
middlewares contains a few example middlewares, including LabeledMiddlewares.
middlewares