An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/AdamSLevy/modbus

Package modbus implements a threadsafe modbus library. Start by initializing a valid ConnectionSettings object and passing it to GetClientHandle. If successful, the error will be <nil> and you can use ClientHandle.Send(Query) to transmit Queries. The ClientHandle can be used in multiple goroutines concurrently as long as ClientHandle.Close() has yet to be called. To allow for each goroutine to call ClientHandle.Close() asynchronously, multiple ClientHandles for the same ConnectionSettings can be acquired using repeated calls to GetClientHandle. The clients are hashed by their ConnectionSettings.Host string, and ConnectionSettings must match exactly for multiple ClientHandles to be returned. After all ClientHandles for a given client with the corresponding ConnectionSettings have been closed, the client is automatically shutdown. The RTU, ASCII and TCP Packagers implement the modbus protocol and can be used directly to send Queries. This is intended to allow more flexible use of the underlying modbus library, such as in simple programs that don't require concurrency.

Ecosystem
proxy.golang.org
Latest Release
v1.0.1
over 7 years ago
Versions
2
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/%21adam%21s%21levy/modbus
spec
License MIT
Namespace github.com/AdamSLevy
First Release over 7 years ago
Last Synced 17 days ago
Repository
Stars 8 on GitHub
Forks 2 on GitHub
Rankings on proxy.golang.org
Overall Top 8.2%