disconnect

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2025 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package main demonstrates the use of Disconnect() for connection pooling and temporary connection release patterns in go-gnmi.

This example shows:

  1. Basic disconnect and reconnect pattern
  2. Connection pooling with idle timeout
  3. Long-running application with maintenance windows
  4. Difference between Disconnect() (reusable) and Close() (terminal)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL