Add Version() to the Client struct to return the cached PVE version and fetch it when we have no version yet.
This does add a mutex to the Client if this becomes a performance issue we can fix it using channels, but this would be more complex and require a dispatch thread.
Add
Version()
to theClient
struct to return the cached PVE version and fetch it when we have no version yet. This does add a mutex to theClient
if this becomes a performance issue we can fix it using channels, but this would be more complex and require a dispatch thread.closes #309