mirror of
https://github.com/quarkcloudio/quark-go.git
synced 2025-09-27 04:15:54 +08:00
12 lines
209 B
Plaintext
12 lines
209 B
Plaintext
type Request {
|
|
Name string `path:"name,options=you|me"`
|
|
}
|
|
|
|
type Response {
|
|
Message string `json:"message"`
|
|
}
|
|
|
|
service zeroadmin-api {
|
|
@handler ZeroadminHandler
|
|
get /from/:name(Request) returns (Response)
|
|
} |