From 6a2a7200eaff3289353eb8d9b0dd68cbc68e9a4f Mon Sep 17 00:00:00 2001 From: eumji Date: Sat, 21 Jul 2018 13:54:15 +0800 Subject: [PATCH] update wirting-rest.md update the code block --- docs/getstarted/writing-rest.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/getstarted/writing-rest.md b/docs/getstarted/writing-rest.md index dde5acea4..37cf74a5a 100644 --- a/docs/getstarted/writing-rest.md +++ b/docs/getstarted/writing-rest.md @@ -86,9 +86,10 @@ cse: address: http://127.0.0.1:30100 ``` 2.修改microservice.yaml - +```yaml service_description: name: RESTClient +``` 3.main中调用服务端,请求包括服务名,schema,operation及参数 ```go func main() { @@ -109,4 +110,4 @@ func main() { } ``` **Notice** ->> if conf folder is not under work dir, plz export CHASSIS_HOME=/path/to/conf/parent_folder or CHASSIS_CONF_DIR==/path/to/conf_folder \ No newline at end of file +>> if conf folder is not under work dir, plz export CHASSIS_HOME=/path/to/conf/parent_folder or CHASSIS_CONF_DIR==/path/to/conf_folder