graceful.api 196 B

1234567891011
  1. type Response {
  2. Host string `json:"host"`
  3. Time int64 `json:"time"`
  4. }
  5. service graceful-api {
  6. @server(
  7. handler: GracefulHandler
  8. )
  9. get /api/graceful() returns(Response)
  10. }