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
log/syslog: Dial function needs examples #16761
Comments
CL https://golang.org/cl/27209 mentions this issue. |
Thanks!
|
Isn't syslog frozen? |
My understanding is that frozen indicates people can expect not to notice API or under the hood functionality changes moving forward, but I don't see how clarifying documentation should ever be dissuaded. Sent from my iPhone
|
Documentation is okay. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.7
What operating system and processor architecture are you using (
go env
)?darwin/amd_64
Tried to view the docs for https://golang.org/pkg/log/syslog/#Dial
Documentation/examples describing what the 'network' and 'raddr' values should be.
No mention of what those should be. It appears 'network' refers to 'address family' or 'protocol' (tcp/udp/unix/unixgram), rather than some string representing a network address. 'raddr' seems to be the 'host:port', or file path string for connecting to the socket. I had to browse the test suite's source code to figure out what these should be.
The text was updated successfully, but these errors were encountered: