You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-zero/example/graceful/dns/api/graceful.api

11 lines
196 B
Plaintext

4 years ago
type Response {
Host string `json:"host"`
Time int64 `json:"time"`
}
service graceful-api {
@server(
handler: GracefulHandler
)
get /api/graceful() returns(Response)
}