Skip to content

Commit

Permalink
add prefetch count to README
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasjarosch committed Jul 19, 2019
1 parent caee155 commit 4f54b72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion a_main-packr.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions templates/readme.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ func {{ .Name }}({{ .ParamList }}) ({{ .ReturnList }})
All handlers are located in: `./internal/service/subscriber/`
Each handler has it's own file, named after the subscription topic.

| **Routing key** | **Exchange** | **Queue** | **Handler** |
|-----------------|--------------|-----------|-------------|
| **Routing key** | **Exchange** | **Queue** | **Handler** | **Prefetch Count** |
|-----------------|--------------|-----------|-------------|--------------------|
{{- range .Service.Subscriber }}
| {{ .Subscription.Topic }} | {{ .Subscription.Exchange }} | {{ .Subscription.Queue.Name }} | {{ .Handler }} |
| {{ .Subscription.Topic }} | {{ .Subscription.Exchange }} | {{ .Subscription.Queue.Name }} | {{ .Handler }} | {{ .Subscription.PrefetchCount }}|
{{- end }}
{{- end }}

Expand Down

0 comments on commit 4f54b72

Please sign in to comment.