Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test #1

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add comment
  • Loading branch information
voltgizerz committed Sep 2, 2023
commit 577dfc89748ba4718b1f195a6085f5f965d81cae
1 change: 1 addition & 0 deletions config/nsq.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ type Consumer struct {
Client *nsq.Consumer
}

// NewConsumer - function.
func NewConsumer(addr, channel, topicName string) *Consumer {
// Instantiate a consumer that will subscribe to the provided channel.
config := nsq.NewConfig()
Expand Down