Skip to content
Permalink
Browse files
doc: add consumer&provider usage
  • Loading branch information
DLive committed May 5, 2019
1 parent 86b6e96 commit f1695484fe11b0d6ba3b3b4eea8baaf44ee84376
Showing 2 changed files with 16 additions and 1 deletion.
@@ -68,7 +68,7 @@ Call the interface method.

```erlang
RequestPara = #testReq{name = <<"nameinfo">>,nick = <<"nickinfo">>,age = 10},
iProcessData:queryinfo(Info,[]).
iProcessData:queryinfo(Info).
```

Sample
@@ -0,0 +1,15 @@
# Consumer Configurations

## Base Config
Consumer config is under the dubboerl application with sys.config
```erlang
{dubboerl,[
%% other config ...
{consumer,[
{<<"interface fullname">>,[Option]},
%% eg:
{<<"com.ifcoder.demo.facade.User">>,[]},
]}
]}
```
Option is to be added.

0 comments on commit f169548

Please sign in to comment.