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

Merge host and port #10

Merged
merged 2 commits into from
Mar 23, 2020
Merged

Conversation

nmarcetic
Copy link
Contributor

Signed-off-by: Nikola Marcetic n.marcetic86@gmail.com

Signed-off-by: Nikola Marcetic <n.marcetic86@gmail.com>
pkg/mqtt/mqtt.go Outdated
@@ -18,11 +18,11 @@ type Proxy struct {
logger logger.Logger
}

func New(host, port, path, scheme string, event session.Event, logger logger.Logger) *Proxy {
func New(host, port, targetHost, targetPort string, event session.Event, logger logger.Logger) *Proxy {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we separated host and port? Why not send url (host+port)?

Signed-off-by: Nikola Marcetic <n.marcetic86@gmail.com>
@dborovcanin dborovcanin changed the title Fixed mqtt contructor signature Merge host and port Mar 23, 2020
@nmarcetic nmarcetic merged commit ce64534 into absmach:master Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants