You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is compliant or not, but it would be cool to set a custom host name when registering a service. This would allow creating a server, which can be found under a predefined domain - e.g. through a web browser.
Right now it looks like this case will always be true, because you cannot actually set HostName. It will thus fallback to os.Hostname() and thus depends on the environment. I have tested it using other values and it resolves and works fine under macOS.
I would be more than happy to create a PR, if you don't mind.
This would probably also help with the use case in #42.
The text was updated successfully, but these errors were encountered:
Not sure if this is compliant or not, but it would be cool to set a custom host name when registering a service. This would allow creating a server, which can be found under a predefined domain - e.g. through a web browser.
Right now it looks like this case will always be true, because you cannot actually set
HostName
. It will thus fallback toos.Hostname()
and thus depends on the environment. I have tested it using other values and it resolves and works fine under macOS.I would be more than happy to create a PR, if you don't mind.
This would probably also help with the use case in #42.
The text was updated successfully, but these errors were encountered: