Skip to content

Commit

Permalink
Merge 6a2a720 into 751ab03
Browse files Browse the repository at this point in the history
  • Loading branch information
eumji025 committed Jul 21, 2018
2 parents 751ab03 + 6a2a720 commit 09779cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/getstarted/writing-rest.md
Expand Up @@ -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() {
Expand All @@ -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
>> 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

0 comments on commit 09779cd

Please sign in to comment.