Skip to content

Instantly share code, notes, and snippets.

@percybolmer
Last active August 6, 2021 11:38
Show Gist options
  • Save percybolmer/a55c743d085655ce3b2a80e9b3ce421e to your computer and use it in GitHub Desktop.
Save percybolmer/a55c743d085655ce3b2a80e9b3ce421e to your computer and use it in GitHub Desktop.
// HardwareMonitorServer is the server API for HardwareMonitor service.
// All implementations must embed UnimplementedHardwareMonitorServer
// for forward compatibility
type HardwareMonitorServer interface {
// Monitor will output stats about the hardware on the system host
Monitor(*EmptyRequest, HardwareMonitor_MonitorServer) error
mustEmbedUnimplementedHardwareMonitorServer()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment