Skip to content

refactor(docs): rework server docs and formatting - #70

Open
brandon1024 wants to merge 1 commit into
simonvetter:masterfrom
brandon1024:docs-fmt
Open

refactor(docs): rework server docs and formatting#70
brandon1024 wants to merge 1 commit into
simonvetter:masterfrom
brandon1024:docs-fmt

Conversation

@brandon1024

Copy link
Copy Markdown

This revision improves the formatting and wording of the documentation for server types and methods. These changes offer further elaboration on behaviours and functions, and also link to other types nicely in the (rendered) docs pages.

The ModbusServer.Stop has been deprecated in favour of ModbusServer.Close, thereby implementing io.Closer.

This revision also formats the server sources with the standard formatter (gofmt), to be a bit more idiomatic.

Notes

A few months ago, I had started a refactor of the server implementation to implement #19. We use this library internally at Siemens, and not being able to configure a net.Listener has made are adoption a bit difficult. This patch series grew fairly large, so in an effort to keep these changes more easily reviewable, I'll be submitting them for review one at a time.

This first patch is just the baseline docs and formatting fixes. There are no functional code changes here, just docs and formatting.

I'm happy to tidy up other project sources too. Just let me know.

Disclosure

These changes are completely organic, written by myself, without the use of AI. I just want to make this clear, given the current landscape..

This revision improves the formatting and wording of the documentation
for server types and methods. These changes offer further elaboration on
behaviours and functions, and also link to other types nicely in the
(rendered) docs pages.

The [ModbusServer.Stop] has been deprecated in favour of
[ModbusServer.Close], thereby implementing [io.Closer].

This revision also formats the server sources with the standard
formatter (gofmt), to be a bit more idiomatic.
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.

1 participant