initial import
This commit is contained in:
11
example/graceful/etcd/api/graceful.api
Normal file
11
example/graceful/etcd/api/graceful.api
Normal file
@@ -0,0 +1,11 @@
|
||||
type Response {
|
||||
Host string `json:"host"`
|
||||
Time int64 `json:"time"`
|
||||
}
|
||||
|
||||
service graceful-api {
|
||||
@server(
|
||||
handler: GracefulHandler
|
||||
)
|
||||
get /api/graceful() returns(Response)
|
||||
}
|
||||
Reference in New Issue
Block a user