-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(address): support clustered usage (#40)
* feat: refactor `WithAddr` function to accept multiple addresses - Add `github.com/nats-io/nats.go` as an import - Change the `WithAddr` function signature to accept multiple addresses - Modify the `WithAddr` function to join multiple addresses with commas - Change the default address value to `nats.DefaultURL` Signed-off-by: Bo-Yi Wu <[email protected]>
- Loading branch information
Showing
3 changed files
with
45 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters