Documentation
¶
Overview ¶
Package main demonstrates concurrent operations with go-gnmi.
This example shows:
- Thread-safe concurrent read operations (Get)
- Serialized write operations (Set)
- Proper goroutine synchronization with WaitGroup
- Error handling in concurrent operations
- Performance timing and measurements
Usage:
export GNMI_TARGET=192.168.1.1:57400 export GNMI_USERNAME=admin export GNMI_PASSWORD=secret go run main.go
Click to show internal directories.
Click to hide internal directories.