Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
7phs authored Jan 10, 2019
1 parent ef91615 commit b01d576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ var (
aApi.RegisterEventHandler(aandaSdk.BeforeRequestSend, func(ctx context.Context, methodName, mimeType string, data []byte) {
requestId := ctx.Value("requestId").(string)

log.Println("request: ", requestId, methodName, mimeType, string(data))
log.Println("request: ", requestId, methodName, mimeType, string(data))
}).RegisterEventHandler(aandaSdk.AfterResponseReceive, func(ctx context.Context, methodName, mimeType string, data []byte) {
requestId := ctx.Value("requestId").(string)

log.Println("response: ", requestId, methodName, mimeType, string(data))
log.Println("response: ", requestId, methodName, mimeType, string(data))
})
```

Expand Down

0 comments on commit b01d576

Please sign in to comment.